diff --git a/.github/workflows/official-build.yml b/.github/workflows/official-build.yml index 6bb0695..2f4c70c 100644 --- a/.github/workflows/official-build.yml +++ b/.github/workflows/official-build.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: '14' + node-version: '20' - name: Configure npm to use GitHub Packages run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc diff --git a/action.yml b/action.yml index 88e603b..05857b9 100644 --- a/action.yml +++ b/action.yml @@ -29,7 +29,7 @@ outputs: sarifFile: description: A file path to a SARIF results file. runs: - using: 'node20' + using: 'node24' main: 'lib/main.js' pre: 'lib/pre.js' post: 'lib/post.js' diff --git a/package-lock.json b/package-lock.json index eb69c35..e1aca51 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@types/mocha": "^2.2.44", - "@types/node": "^20.3.1", + "@types/node": "^24.0.0", "@types/q": "^1.0.6", "@types/sinon": "^4.1.2", "del": "^7.0.0", @@ -240,9 +240,14 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.8.0", + "version": "24.12.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz", + "integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "undici-types": "~7.16.0" + } }, "node_modules/@types/q": { "version": "1.5.6", @@ -3888,6 +3893,13 @@ "node": ">= 0.10" } }, + "node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true, + "license": "MIT" + }, "node_modules/unique-stream": { "version": "2.3.1", "dev": true, @@ -4375,8 +4387,13 @@ "dev": true }, "@types/node": { - "version": "20.8.0", - "dev": true + "version": "24.12.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz", + "integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==", + "dev": true, + "requires": { + "undici-types": "~7.16.0" + } }, "@types/q": { "version": "1.5.6", @@ -6835,6 +6852,12 @@ "version": "1.0.1", "dev": true }, + "undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true + }, "unique-stream": { "version": "2.3.1", "dev": true, diff --git a/package.json b/package.json index 7f43ea2..41e4a88 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@types/mocha": "^2.2.44", - "@types/node": "^20.3.1", + "@types/node": "^24.0.0", "@types/q": "^1.0.6", "@types/sinon": "^4.1.2", "del": "^7.0.0",