Skip to content

Commit 152e2bc

Browse files
dependabot[bot]nlf
andauthored
deps: bump minipass from 4.2.7 to 5.0.0 (#78)
* 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] <[email protected]> * chore: fix usage for minipass@5 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: nlf <[email protected]>
1 parent ca82824 commit 152e2bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
const crypto = require('crypto')
4-
const MiniPass = require('minipass')
4+
const { Minipass } = require('minipass')
55

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

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

18-
class IntegrityStream extends MiniPass {
18+
class IntegrityStream extends Minipass {
1919
#emittedIntegrity
2020
#emittedSize
2121
#emittedVerified

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"author": "GitHub Inc.",
4848
"license": "ISC",
4949
"dependencies": {
50-
"minipass": "^4.0.0"
50+
"minipass": "^5.0.0"
5151
},
5252
"devDependencies": {
5353
"@npmcli/eslint-config": "^4.0.0",

0 commit comments

Comments
 (0)