File tree 4 files changed +8
-16
lines changed
4 files changed +8
-16
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ module . exports = require ( 'neostandard' ) ( {
4
+ semi : true ,
5
+ } ) ;
Original file line number Diff line number Diff line change 421
421
"benchmark" : " ^2.1.4" ,
422
422
"bindings" : " ^1.5.0" ,
423
423
"clang-format" : " ^1.4.0" ,
424
- "eslint" : " ^7.32.0" ,
425
- "eslint-config-semistandard" : " ^16.0.0" ,
426
- "eslint-config-standard" : " ^16.0.3" ,
427
- "eslint-plugin-import" : " ^2.24.2" ,
428
- "eslint-plugin-node" : " ^11.1.0" ,
429
- "eslint-plugin-promise" : " ^5.1.0" ,
424
+ "eslint" : " ^9.13.0" ,
430
425
"fs-extra" : " ^11.1.1" ,
431
- "path " : " ^0.12 .7" ,
426
+ "neostandard " : " ^0.11 .7" ,
432
427
"pre-commit" : " ^1.2.2" ,
433
- "safe-buffer" : " ^5.1.1" ,
434
428
"semver" : " ^7.6.0"
435
429
},
436
430
"directories" : {},
Original file line number Diff line number Diff line change 2
2
3
3
const assert = require ( 'assert' ) ;
4
4
const testUtil = require ( './testUtil' ) ;
5
- const safeBuffer = require ( 'safe-buffer' ) ;
6
5
7
6
module . exports = require ( './common' ) . runTest ( test ) ;
8
7
@@ -14,7 +13,7 @@ function test (binding) {
14
13
binding . buffer . checkBuffer ( test ) ;
15
14
assert . ok ( test instanceof Buffer ) ;
16
15
17
- const test2 = safeBuffer . Buffer . alloc ( test . length ) ;
16
+ const test2 = Buffer . alloc ( test . length ) ;
18
17
test . copy ( test2 ) ;
19
18
binding . buffer . checkBuffer ( test2 ) ;
20
19
} ,
You can’t perform that action at this time.
0 commit comments