Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
os: 'ubuntu-latest'
version: '14, 16, 18, 20, 22, 24'
version: '16, 18, 20, 22, 24'
29 changes: 13 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"index.js"
],
"scripts": {
"contributor": "git-contributor",
"test": "node--test && find-duplicated-property-keys -s package.json",
"ci": "npm run lint && c8 -r text-summary -r json-summary -r json -r lcov npm test",
"test": "node --test && find-duplicated-property-keys -s package.json",
"preci": "npm run lint",
"ci": "npm test",
"lint": "git log -1 --pretty=format:\"%s\" | commitlint"
},
"husky": {
Expand All @@ -20,11 +20,8 @@
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-angular": "^9.0.1",
"c8": "^7.11.3",
"find-duplicated-property-keys": "^1.2.7",
"git-contributor": "2",
"husky": "^4.2.5",
"test": "^3.0.0"
"husky": "^4.2.5"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -78,25 +75,25 @@
"version": "18.20.6",
"reason": "https://nodejs.org/en/blog/vulnerability/january-2025-security-releases"
},
">= 20.0.0 < 20.19.2": {
"version": "20.19.2",
"reason": "https://nodejs.org/en/blog/vulnerability/may-2025-security-releases"
">= 20.0.0 < 20.19.4": {
"version": "20.19.4",
"reason": "https://nodejs.org/en/blog/vulnerability/july-2025-security-releases"
},
">= 21.0.0 < 21.7.2": {
"version": "21.7.2",
"reason": "https://nodejs.org/en/blog/vulnerability/april-2024-security-releases/"
},
">= 22.0.0 < 22.15.1": {
"version": "22.15.1",
"reason": "https://nodejs.org/en/blog/vulnerability/may-2025-security-releases"
">= 22.0.0 < 22.17.1": {
"version": "22.17.1",
"reason": "https://nodejs.org/en/blog/vulnerability/july-2025-security-releases"
},
">= 23.0.0 < 23.11.1": {
"version": "23.11.1",
"reason": "https://nodejs.org/en/blog/vulnerability/may-2025-security-releases"
},
">= 24.0.0 < 24.0.2": {
"version": "24.0.2",
"reason": "https://nodejs.org/en/blog/vulnerability/may-2025-security-releases"
">= 24.0.0 < 24.4.1": {
"version": "24.4.1",
"reason": "https://nodejs.org/en/blog/vulnerability/july-2025-security-releases"
}
},
"unsafe-alinode-versions": {
Expand Down
7 changes: 4 additions & 3 deletions test/index.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const assert = require('assert');
const test = require('test');
const assert = require('node:assert');
const test = require('node:test');

const bugVersions = require('..');
const pkg = require('../package');
const pkg = require('../package.json');

test('should get bug-versions', () => {
let pkgCount = 0;
Expand Down