Skip to content

Commit

Permalink
chore: upgrade devdependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Nov 4, 2024
1 parent 19002d5 commit bb91b57
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
6 changes: 0 additions & 6 deletions .eslintrc.js

This file was deleted.

5 changes: 5 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

module.exports = require('neostandard')({
semi: true,
});
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,16 +421,10 @@
"benchmark": "^2.1.4",
"bindings": "^1.5.0",
"clang-format": "^1.4.0",
"eslint": "^7.32.0",
"eslint-config-semistandard": "^16.0.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint": "^9.13.0",
"fs-extra": "^11.1.1",
"path": "^0.12.7",
"neostandard": "^0.11.7",
"pre-commit": "^1.2.2",
"safe-buffer": "^5.1.1",
"semver": "^7.6.0"
},
"directories": {},
Expand Down
3 changes: 1 addition & 2 deletions test/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

const assert = require('assert');
const testUtil = require('./testUtil');
const safeBuffer = require('safe-buffer');

module.exports = require('./common').runTest(test);

Expand All @@ -14,7 +13,7 @@ function test (binding) {
binding.buffer.checkBuffer(test);
assert.ok(test instanceof Buffer);

const test2 = safeBuffer.Buffer.alloc(test.length);
const test2 = Buffer.alloc(test.length);
test.copy(test2);
binding.buffer.checkBuffer(test2);
},
Expand Down

0 comments on commit bb91b57

Please sign in to comment.