File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 6
6
tests :
7
7
uses : ljharb/actions/.github/workflows/node.yml@main
8
8
with :
9
- range : ' >= 4 < 10'
9
+ range : ' >= 3 < 10'
10
10
type : minors
11
11
command : npm run tests-only
Original file line number Diff line number Diff line change 30
30
"author" : " Dominic Tarr <dominic.tarr@gmail.com> (dominictarr.com)" ,
31
31
"license" : " (MIT AND BSD-3-Clause)" ,
32
32
"engines" : {
33
- "node" : " >= 4 "
33
+ "node" : " >= 3 "
34
34
}
35
35
}
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
var tape = require ( 'tape' ) ;
4
+ var Buffer = require ( 'safe-buffer' ) . Buffer ;
5
+
4
6
var Hash = require ( '../hash' ) ;
7
+
5
8
var hex = '0A1B2C3D4E5F6G7H' ;
6
9
7
10
function equal ( t , a , b ) {
Original file line number Diff line number Diff line change 2
2
3
3
var crypto = require ( 'crypto' ) ;
4
4
var tape = require ( 'tape' ) ;
5
+ var Buffer = require ( 'safe-buffer' ) . Buffer ;
6
+
5
7
var Sha1 = require ( '../' ) . sha1 ;
6
8
7
9
var inputs = [
You can’t perform that action at this time.
0 commit comments