;
export {};
diff --git a/node_modules/uuid/dist/esm/v4.js b/node_modules/uuid/dist/esm/v4.js
index ac79ac5243..dd9067a6e3 100644
--- a/node_modules/uuid/dist/esm/v4.js
+++ b/node_modules/uuid/dist/esm/v4.js
@@ -6,11 +6,17 @@ function v4(options, buf, offset) {
return native.randomUUID();
}
options = options || {};
- const rnds = options.random || (options.rng || rng)();
+ const rnds = options.random ?? options.rng?.() ?? rng();
+ if (rnds.length < 16) {
+ throw new Error('Random bytes length must be >= 16');
+ }
rnds[6] = (rnds[6] & 0x0f) | 0x40;
rnds[8] = (rnds[8] & 0x3f) | 0x80;
if (buf) {
offset = offset || 0;
+ if (offset < 0 || offset + 16 > buf.length) {
+ throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
+ }
for (let i = 0; i < 16; ++i) {
buf[offset + i] = rnds[i];
}
diff --git a/node_modules/uuid/dist/esm/v7.js b/node_modules/uuid/dist/esm/v7.js
index e00e295073..482aca7b5c 100644
--- a/node_modules/uuid/dist/esm/v7.js
+++ b/node_modules/uuid/dist/esm/v7.js
@@ -30,10 +30,18 @@ export function updateV7State(state, now, rnds) {
return state;
}
function v7Bytes(rnds, msecs, seq, buf, offset = 0) {
+ if (rnds.length < 16) {
+ throw new Error('Random bytes length must be >= 16');
+ }
if (!buf) {
buf = new Uint8Array(16);
offset = 0;
}
+ else {
+ if (offset < 0 || offset + 16 > buf.length) {
+ throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
+ }
+ }
msecs ??= Date.now();
seq ??= ((rnds[6] * 0x7f) << 24) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9];
buf[offset++] = (msecs / 0x10000000000) & 0xff;
diff --git a/node_modules/uuid/package.json b/node_modules/uuid/package.json
index 77cd378859..a7461c0737 100644
--- a/node_modules/uuid/package.json
+++ b/node_modules/uuid/package.json
@@ -1,6 +1,6 @@
{
"name": "uuid",
- "version": "11.0.3",
+ "version": "11.0.4",
"description": "RFC9562 UUIDs",
"type": "module",
"funding": [
@@ -44,35 +44,32 @@
"./dist/cjs/index.js": "./dist/cjs-browser/index.js"
},
"files": [
- "CHANGELOG.md",
- "CONTRIBUTING.md",
- "LICENSE.md",
- "README.md",
- "dist"
+ "dist",
+ "!dist/**/test"
],
"devDependencies": {
"@babel/eslint-parser": "7.25.9",
- "@commitlint/cli": "19.5.0",
- "@commitlint/config-conventional": "19.5.0",
- "@eslint/js": "9.13.0",
+ "@commitlint/cli": "19.6.1",
+ "@commitlint/config-conventional": "19.6.0",
+ "@eslint/js": "9.17.0",
"@types/eslint__js": "8.42.3",
"bundlewatch": "0.4.0",
"commander": "12.1.0",
- "eslint": "9.13.0",
+ "eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
- "globals": "15.11.0",
- "husky": "9.1.6",
+ "globals": "15.14.0",
+ "husky": "9.1.7",
"jest": "29.7.0",
- "lint-staged": "15.2.10",
- "neostandard": "0.11.7",
+ "lint-staged": "15.2.11",
+ "neostandard": "0.12.0",
"npm-run-all": "4.1.5",
- "prettier": "3.3.3",
- "release-please": "16.14.3",
- "runmd": "1.3.9",
+ "prettier": "3.4.2",
+ "release-please": "16.15.0",
+ "runmd": "1.4.1",
"standard-version": "9.5.0",
- "typescript": "5.6.3",
- "typescript-eslint": "8.11.0"
+ "typescript": "5.7.2",
+ "typescript-eslint": "8.18.2"
},
"optionalDevDependencies": {
"@wdio/browserstack-service": "9.2.1",
@@ -130,5 +127,5 @@
"postchangelog": "prettier --write CHANGELOG.md"
}
},
- "packageManager": "npm@10.9.0"
+ "packageManager": "npm@11.0.0"
}
diff --git a/package-lock.json b/package-lock.json
index 04cfa6767c..91fdec9d49 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "codeql",
- "version": "2.28.0",
+ "version": "2.28.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "codeql",
- "version": "2.28.0",
+ "version": "2.28.1",
"license": "MIT",
"dependencies": {
"@actions/artifact": "^2.1.9",
@@ -39,7 +39,7 @@
"node-forge": "^1.3.1",
"path": "^0.12.7",
"semver": "^7.6.3",
- "uuid": "^11.0.3",
+ "uuid": "^11.0.4",
"zlib": "^1.0.5"
},
"devDependencies": {
@@ -56,8 +56,8 @@
"@types/node": "16.11.22",
"@types/semver": "^7.5.8",
"@types/sinon": "^17.0.3",
- "@typescript-eslint/eslint-plugin": "^8.18.1",
- "@typescript-eslint/parser": "^8.18.1",
+ "@typescript-eslint/eslint-plugin": "^8.19.0",
+ "@typescript-eslint/parser": "^8.19.0",
"ava": "^5.3.1",
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^3.7.0",
@@ -1369,17 +1369,17 @@
"license": "MIT"
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.1.tgz",
- "integrity": "sha512-Ncvsq5CT3Gvh+uJG0Lwlho6suwDfUXH0HztslDf5I+F2wAFAZMRwYLEorumpKLzmO2suAXZ/td1tBg4NZIi9CQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.19.0.tgz",
+ "integrity": "sha512-NggSaEZCdSrFddbctrVjkVZvFC6KGfKfNK0CU7mNK/iKHGKbzT4Wmgm08dKpcZECBu9f5FypndoMyRHkdqfT1Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "8.18.1",
- "@typescript-eslint/type-utils": "8.18.1",
- "@typescript-eslint/utils": "8.18.1",
- "@typescript-eslint/visitor-keys": "8.18.1",
+ "@typescript-eslint/scope-manager": "8.19.0",
+ "@typescript-eslint/type-utils": "8.19.0",
+ "@typescript-eslint/utils": "8.19.0",
+ "@typescript-eslint/visitor-keys": "8.19.0",
"graphemer": "^1.4.0",
"ignore": "^5.3.1",
"natural-compare": "^1.4.0",
@@ -1399,14 +1399,14 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz",
- "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz",
+ "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/visitor-keys": "8.18.1"
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/visitor-keys": "8.19.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1417,9 +1417,9 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz",
- "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz",
+ "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1431,14 +1431,14 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz",
- "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz",
+ "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/visitor-keys": "8.18.1",
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/visitor-keys": "8.19.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
@@ -1458,16 +1458,16 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.1.tgz",
- "integrity": "sha512-8vikiIj2ebrC4WRdcAdDcmnu9Q/MXXwg+STf40BVfT8exDqBCUPdypvzcUPxEqRGKg9ALagZ0UWcYCtn+4W2iQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz",
+ "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
- "@typescript-eslint/scope-manager": "8.18.1",
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/typescript-estree": "8.18.1"
+ "@typescript-eslint/scope-manager": "8.19.0",
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/typescript-estree": "8.19.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1482,13 +1482,13 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz",
- "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz",
+ "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
+ "@typescript-eslint/types": "8.19.0",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
@@ -1539,16 +1539,16 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.1.tgz",
- "integrity": "sha512-rBnTWHCdbYM2lh7hjyXqxk70wvon3p2FyaniZuey5TrcGBpfhVp0OxOa6gxr9Q9YhZFKyfbEnxc24ZnVbbUkCA==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.19.0.tgz",
+ "integrity": "sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/scope-manager": "8.18.1",
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/typescript-estree": "8.18.1",
- "@typescript-eslint/visitor-keys": "8.18.1",
+ "@typescript-eslint/scope-manager": "8.19.0",
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/typescript-estree": "8.19.0",
+ "@typescript-eslint/visitor-keys": "8.19.0",
"debug": "^4.3.4"
},
"engines": {
@@ -1564,14 +1564,14 @@
}
},
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz",
- "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz",
+ "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/visitor-keys": "8.18.1"
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/visitor-keys": "8.19.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1582,9 +1582,9 @@
}
},
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz",
- "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz",
+ "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1596,14 +1596,14 @@
}
},
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz",
- "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz",
+ "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/visitor-keys": "8.18.1",
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/visitor-keys": "8.19.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
@@ -1623,13 +1623,13 @@
}
},
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz",
- "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz",
+ "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
+ "@typescript-eslint/types": "8.19.0",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
@@ -1698,14 +1698,14 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.1.tgz",
- "integrity": "sha512-jAhTdK/Qx2NJPNOTxXpMwlOiSymtR2j283TtPqXkKBdH8OAMmhiUfP0kJjc/qSE51Xrq02Gj9NY7MwK+UxVwHQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.19.0.tgz",
+ "integrity": "sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/typescript-estree": "8.18.1",
- "@typescript-eslint/utils": "8.18.1",
+ "@typescript-eslint/typescript-estree": "8.19.0",
+ "@typescript-eslint/utils": "8.19.0",
"debug": "^4.3.4",
"ts-api-utils": "^1.3.0"
},
@@ -1722,14 +1722,14 @@
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz",
- "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz",
+ "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/visitor-keys": "8.18.1"
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/visitor-keys": "8.19.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1740,9 +1740,9 @@
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz",
- "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz",
+ "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1754,14 +1754,14 @@
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz",
- "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz",
+ "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/visitor-keys": "8.18.1",
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/visitor-keys": "8.19.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
@@ -1781,16 +1781,16 @@
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.1.tgz",
- "integrity": "sha512-8vikiIj2ebrC4WRdcAdDcmnu9Q/MXXwg+STf40BVfT8exDqBCUPdypvzcUPxEqRGKg9ALagZ0UWcYCtn+4W2iQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz",
+ "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
- "@typescript-eslint/scope-manager": "8.18.1",
- "@typescript-eslint/types": "8.18.1",
- "@typescript-eslint/typescript-estree": "8.18.1"
+ "@typescript-eslint/scope-manager": "8.19.0",
+ "@typescript-eslint/types": "8.19.0",
+ "@typescript-eslint/typescript-estree": "8.19.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1805,13 +1805,13 @@
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz",
- "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz",
+ "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.18.1",
+ "@typescript-eslint/types": "8.19.0",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
@@ -7686,13 +7686,14 @@
"license": "MIT"
},
"node_modules/uuid": {
- "version": "11.0.3",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz",
- "integrity": "sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==",
+ "version": "11.0.4",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.4.tgz",
+ "integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==",
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
],
+ "license": "MIT",
"bin": {
"uuid": "dist/esm/bin/uuid"
}
diff --git a/package.json b/package.json
index 9e69c58600..b783134f17 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "codeql",
- "version": "2.28.0",
+ "version": "2.28.1",
"private": true,
"description": "CodeQL action",
"scripts": {
@@ -52,7 +52,7 @@
"node-forge": "^1.3.1",
"path": "^0.12.7",
"semver": "^7.6.3",
- "uuid": "^11.0.3",
+ "uuid": "^11.0.4",
"zlib": "^1.0.5"
},
"//": [
@@ -72,8 +72,8 @@
"@types/node": "16.11.22",
"@types/semver": "^7.5.8",
"@types/sinon": "^17.0.3",
- "@typescript-eslint/eslint-plugin": "^8.18.1",
- "@typescript-eslint/parser": "^8.18.1",
+ "@typescript-eslint/eslint-plugin": "^8.19.0",
+ "@typescript-eslint/parser": "^8.19.0",
"ava": "^5.3.1",
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^3.7.0",
diff --git a/src/autobuild.ts b/src/autobuild.ts
index 5cb5d0d14d..30dfc46ae4 100644
--- a/src/autobuild.ts
+++ b/src/autobuild.ts
@@ -23,7 +23,10 @@ export async function determineAutobuildLanguages(
(await codeql.supportsFeature(ToolsFeature.TraceCommandUseBuildMode))) ||
config.buildMode === BuildMode.Manual
) {
- logger.info(`Using ${config.buildMode} build mode, nothing to autobuild.`);
+ logger.info(
+ `Using build mode "${config.buildMode}", nothing to autobuild. ` +
+ `See ${DocUrl.CODEQL_BUILD_MODES} for more information.`,
+ );
return undefined;
}
diff --git a/src/defaults.json b/src/defaults.json
index 605f18897b..3c3e56944a 100644
--- a/src/defaults.json
+++ b/src/defaults.json
@@ -1,6 +1,6 @@
{
- "bundleVersion": "codeql-bundle-v2.20.0",
- "cliVersion": "2.20.0",
- "priorBundleVersion": "codeql-bundle-v2.19.4",
- "priorCliVersion": "2.19.4"
+ "bundleVersion": "codeql-bundle-v2.20.1",
+ "cliVersion": "2.20.1",
+ "priorBundleVersion": "codeql-bundle-v2.20.0",
+ "priorCliVersion": "2.20.0"
}
diff --git a/src/doc-url.ts b/src/doc-url.ts
index 77431e1c4a..59096fde78 100644
--- a/src/doc-url.ts
+++ b/src/doc-url.ts
@@ -9,4 +9,5 @@ export enum DocUrl {
SCANNING_ON_PUSH = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#scanning-on-push",
SPECIFY_BUILD_STEPS_MANUALLY = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-specifying-build-steps-manually",
TRACK_CODE_SCANNING_ALERTS_ACROSS_RUNS = "https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs",
+ CODEQL_BUILD_MODES = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#codeql-build-modes",
}
diff --git a/src/environment.ts b/src/environment.ts
index 83f0919212..42dcfc4e0c 100644
--- a/src/environment.ts
+++ b/src/environment.ts
@@ -50,6 +50,9 @@ export enum EnvVar {
/** Whether the init action has been run. */
INIT_ACTION_HAS_RUN = "CODEQL_ACTION_INIT_HAS_RUN",
+ /** Whether the error for a deprecated version of the CodeQL Action was logged. */
+ LOG_VERSION_DEPRECATION = "CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION",
+
/**
* For macOS. Result of `csrutil status` to determine whether System Integrity
* Protection is enabled.
diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts
index 71c8888b94..c7b272841d 100644
--- a/src/start-proxy-action.ts
+++ b/src/start-proxy-action.ts
@@ -174,7 +174,10 @@ async function startProxy(
const registry_urls = config.all_credentials
.filter((credential) => credential.url !== undefined)
- .map((credential) => credential.url);
+ .map((credential) => ({
+ type: credential.type,
+ url: credential.url,
+ }));
core.setOutput("proxy_urls", JSON.stringify(registry_urls));
} catch (error) {
core.setFailed(`start-proxy action failed: ${util.getErrorMessage(error)}`);
diff --git a/src/util.test.ts b/src/util.test.ts
index 2091e2ffea..9fa3ed4973 100644
--- a/src/util.test.ts
+++ b/src/util.test.ts
@@ -431,16 +431,16 @@ const CHECK_ACTION_VERSION_TESTS: Array<[string, util.GitHubVersion, boolean]> =
for (const [
version,
githubVersion,
- shouldReportWarning,
+ shouldReportError,
] of CHECK_ACTION_VERSION_TESTS) {
- const reportWarningDescription = shouldReportWarning
- ? "reports warning"
- : "doesn't report warning";
+ const reportErrorDescription = shouldReportError
+ ? "reports error"
+ : "doesn't report error";
const versionsDescription = `CodeQL Action version ${version} and GitHub version ${formatGitHubVersion(
githubVersion,
)}`;
- test(`checkActionVersion ${reportWarningDescription} for ${versionsDescription}`, async (t) => {
- const warningSpy = sinon.spy(core, "warning");
+ test(`checkActionVersion ${reportErrorDescription} for ${versionsDescription}`, async (t) => {
+ const warningSpy = sinon.spy(core, "error");
const versionStub = sinon
.stub(api, "getGitHubVersion")
.resolves(githubVersion);
@@ -449,10 +449,12 @@ for (const [
util.checkActionVersion(version, await api.getGitHubVersion());
util.checkActionVersion(version, await api.getGitHubVersion());
- if (shouldReportWarning) {
+ if (shouldReportError) {
t.true(
warningSpy.calledOnceWithExactly(
- sinon.match("CodeQL Action v2 will be deprecated"),
+ sinon.match(
+ "CodeQL Action major versions v1 and v2 have been deprecated.",
+ ),
),
);
} else {
diff --git a/src/util.ts b/src/util.ts
index 3672797399..64fa0cd9d2 100644
--- a/src/util.ts
+++ b/src/util.ts
@@ -1071,19 +1071,18 @@ export async function checkDiskUsage(
/**
* Prompt the customer to upgrade to CodeQL Action v3, if appropriate.
*
- * Check whether a customer is running v2. If they are, and we can determine that the GitHub
- * instance supports v3, then log a warning about v2's upcoming deprecation prompting the customer
- * to upgrade to v3.
+ * Check whether a customer is running v1 or v2. If they are, and we can determine that the GitHub
+ * instance supports v3, then log an error prompting the customer to upgrade to v3.
*/
export function checkActionVersion(
version: string,
githubVersion: GitHubVersion,
) {
if (
- !semver.satisfies(version, ">=3") && // do not warn if the customer is already running v3
- !process.env.CODEQL_V2_DEPRECATION_WARNING // do not warn if we have already warned
+ !semver.satisfies(version, ">=3") && // do not log error if the customer is already running v3
+ !process.env[EnvVar.LOG_VERSION_DEPRECATION] // do not log error if we have already
) {
- // Only log a warning for versions of GHES that are compatible with CodeQL Action version 3.
+ // Only error for versions of GHES that are compatible with CodeQL Action version 3.
//
// GHES 3.11 shipped without the v3 tag, but it also shipped without this warning message code.
// Therefore users who are seeing this warning message code have pulled in a new version of the
@@ -1097,14 +1096,14 @@ export function checkActionVersion(
">=3.11",
))
) {
- core.warning(
- "CodeQL Action v2 will be deprecated on December 5th, 2024. " +
+ core.error(
+ "CodeQL Action major versions v1 and v2 have been deprecated. " +
"Please update all occurrences of the CodeQL Action in your workflow files to v3. " +
"For more information, see " +
- "https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/",
+ "https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/",
);
- // set CODEQL_V2_DEPRECATION_WARNING env var to prevent the warning from being logged multiple times
- core.exportVariable("CODEQL_V2_DEPRECATION_WARNING", "true");
+ // set LOG_VERSION_DEPRECATION env var to prevent the warning from being logged multiple times
+ core.exportVariable(EnvVar.LOG_VERSION_DEPRECATION, "true");
}
}
}
diff --git a/start-proxy/action.yml b/start-proxy/action.yml
index 6ae765c3bb..5b117a1b81 100644
--- a/start-proxy/action.yml
+++ b/start-proxy/action.yml
@@ -24,7 +24,7 @@ outputs:
proxy_ca_certificate:
description: The proxy's internal CA certificate in PEM format
proxy_urls:
- description: The URLs of the configured registries, as a JSON array.
+ description: A stringified JSON array of objects containing the types and URLs of the configured registries.
runs:
using: node16
main: "../lib/start-proxy-action.js"
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy