diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 478e7e7..5f5b44d 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [8.x, 10.x, 12.x, 13.x] + node-version: [16.x, 18.x, 20.x, 22.x, 23.x] steps: - uses: actions/checkout@v1 diff --git a/package-lock.json b/package-lock.json index 3ec2bb3..0f1a5c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,25 @@ { "name": "bcrypt-small", - "version": "3.1.0", - "lockfileVersion": 1, + "version": "4.0.0", + "lockfileVersion": 3, "requires": true, - "dependencies": { - "@charmander/eslint-config-base": { + "packages": { + "": { + "name": "bcrypt-small", + "version": "4.0.0", + "license": "ISC", + "devDependencies": { + "@charmander/eslint-config-base": "1.1.0" + }, + "engines": { + "node": ">=18.0.0 || ^16.17.0" + } + }, + "node_modules/@charmander/eslint-config-base": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@charmander/eslint-config-base/-/eslint-config-base-1.1.0.tgz", "integrity": "sha512-eLORux1C1o/bR+ryUhPgJSJbKb4/koF69azHUWef/S0Z/RwIxJWgixsXek/zev9pN+FFXFRWX5JdfAxlkw68pg==", "dev": true - }, - "@charmander/test": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@charmander/test/-/test-0.2.0.tgz", - "integrity": "sha512-qwl7drDJImAAu46EoLGV5PPd64cpwBeFBjUArSLRbukwqeDZog+JghCtDkQ5Zbgmyf/nUTybw7LQx4hCwsah3Q==", - "dev": true } } } diff --git a/package.json b/package.json index f094009..72c7f84 100644 --- a/package.json +++ b/package.json @@ -31,10 +31,9 @@ "test": "node test" }, "devDependencies": { - "@charmander/eslint-config-base": "1.1.0", - "@charmander/test": "0.2.0" + "@charmander/eslint-config-base": "1.1.0" }, "engines": { - "node": ">=8.11.2" + "node": ">=18.0.0 || ^16.17.0" } } diff --git a/test.js b/test.js index 801365b..b9c97d3 100644 --- a/test.js +++ b/test.js @@ -5,7 +5,7 @@ 'use strict'; const assert = require('assert'); -const test = require('@charmander/test')(module); +const {test} = require('node:test'); const bcrypt = require('./'); const promises = require('./promises');