File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
'use strict'
2
2
3
3
const crypto = require ( 'crypto' )
4
- const MiniPass = require ( 'minipass' )
4
+ const { Minipass } = require ( 'minipass' )
5
5
6
6
const SPEC_ALGORITHMS = [ 'sha512' , 'sha384' , 'sha256' ]
7
7
const DEFAULT_ALGORITHMS = [ 'sha512' ]
@@ -15,7 +15,7 @@ const VCHAR_REGEX = /^[\x21-\x7E]+$/
15
15
16
16
const getOptString = options => options ?. length ? `?${ options . join ( '?' ) } ` : ''
17
17
18
- class IntegrityStream extends MiniPass {
18
+ class IntegrityStream extends Minipass {
19
19
#emittedIntegrity
20
20
#emittedSize
21
21
#emittedVerified
Original file line number Diff line number Diff line change 47
47
"author" : " GitHub Inc." ,
48
48
"license" : " ISC" ,
49
49
"dependencies" : {
50
- "minipass" : " ^4 .0.0"
50
+ "minipass" : " ^5 .0.0"
51
51
},
52
52
"devDependencies" : {
53
53
"@npmcli/eslint-config" : " ^4.0.0" ,
You can’t perform that action at this time.
0 commit comments