Skip to content

Commit

Permalink
deps: bump minipass from 4.2.7 to 5.0.0 (#78)
Browse files Browse the repository at this point in the history
* deps: bump minipass from 4.2.7 to 5.0.0

Bumps [minipass](https://github.com/isaacs/minipass) from 4.2.7 to 5.0.0.
- [Release notes](https://github.com/isaacs/minipass/releases)
- [Changelog](https://github.com/isaacs/minipass/blob/main/CHANGELOG.md)
- [Commits](isaacs/minipass@v4.2.7...v5.0.0)

---
updated-dependencies:
- dependency-name: minipass
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix usage for minipass@5

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nlf <quitlahok@gmail.com>
  • Loading branch information
dependabot[bot] and nlf committed Apr 17, 2023
1 parent ca82824 commit 152e2bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const crypto = require('crypto')
const MiniPass = require('minipass')
const { Minipass } = require('minipass')

const SPEC_ALGORITHMS = ['sha512', 'sha384', 'sha256']
const DEFAULT_ALGORITHMS = ['sha512']
Expand All @@ -15,7 +15,7 @@ const VCHAR_REGEX = /^[\x21-\x7E]+$/

const getOptString = options => options?.length ? `?${options.join('?')}` : ''

class IntegrityStream extends MiniPass {
class IntegrityStream extends Minipass {
#emittedIntegrity
#emittedSize
#emittedVerified
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"author": "GitHub Inc.",
"license": "ISC",
"dependencies": {
"minipass": "^4.0.0"
"minipass": "^5.0.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
Expand Down

0 comments on commit 152e2bc

Please sign in to comment.