Compare commits

..

9 Commits

Author SHA1 Message Date
Henry Mercer 117a67b074 Merge pull request #949 from github/dependabot/npm_and_yarn/removeNPMAbsolutePaths-3.0.0
Bump removeNPMAbsolutePaths from 2.0.0 to 3.0.0
2022-02-24 18:49:56 +00:00
github-actions[bot] 0da815296a Update checked-in dependencies 2022-02-24 17:03:29 +00:00
dependabot[bot] 4e02f8e87a Bump removeNPMAbsolutePaths from 2.0.0 to 3.0.0
Bumps [removeNPMAbsolutePaths](https://github.com/juanjoDiaz/removeNPMAbsolutePaths) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/juanjoDiaz/removeNPMAbsolutePaths/releases)
- [Commits](https://github.com/juanjoDiaz/removeNPMAbsolutePaths/compare/v2.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: removeNPMAbsolutePaths
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 17:01:55 +00:00
Edoardo Pirovano 438f654919 Merge pull request #948 from github/edoardo/revert-windows-11
Revert "Merge pull request #869 from github/edoardo/windows-11-error"
2022-02-24 14:36:46 +00:00
Edoardo Pirovano 42af7232c3 Revert "Merge pull request #869 from github/edoardo/windows-11-error"
This reverts commit faa9ba7363, reversing
changes made to 71112ab35d.
2022-02-24 11:29:26 +00:00
Andrew Eisenberg 360221eece Merge pull request #947 from github/mergeback/v1.1.3-to-main-75f07e7a
Mergeback v1.1.3 refs/heads/v1 into main
2022-02-23 14:09:47 -08:00
github-actions[bot] 9169d2461f Update checked-in dependencies 2022-02-23 19:50:02 +00:00
github-actions[bot] 949eeb2dcf 1.1.4 2022-02-23 19:33:33 +00:00
github-actions[bot] 507795f5c4 Update changelog and version after v1.1.3 2022-02-23 19:33:31 +00:00
511 changed files with 560 additions and 584 deletions
+4
View File
@@ -1,5 +1,9 @@
# CodeQL Action and CodeQL Runner Changelog
## [UNRELEASED]
No user facing changes.
## 1.1.3 - 23 Feb 2022
- Fix bug where the CLR traces can continue tracing even after tracing should be stopped. [#938](https://github.com/github/codeql-action/pull/938)
-4
View File
@@ -92,10 +92,6 @@ async function run() {
toolsVersion = initCodeQLResult.toolsVersion;
await (0, util_1.enrichEnvironment)(util_1.Mode.actions, codeql);
config = await (0, init_1.initConfig)((0, actions_util_1.getOptionalInput)("languages"), (0, actions_util_1.getOptionalInput)("queries"), (0, actions_util_1.getOptionalInput)("packs"), (0, actions_util_1.getOptionalInput)("config-file"), (0, actions_util_1.getOptionalInput)("db-location"), (0, actions_util_1.getOptionalInput)("debug") === "true", (0, actions_util_1.getOptionalInput)("debug-artifact-name") || util_1.DEFAULT_DEBUG_ARTIFACT_NAME, (0, actions_util_1.getOptionalInput)("debug-database-name") || util_1.DEFAULT_DEBUG_DATABASE_NAME, repositoryNwo, (0, actions_util_1.getTemporaryDirectory)(), (0, util_1.getRequiredEnvParam)("RUNNER_TOOL_CACHE"), codeql, (0, util_1.getRequiredEnvParam)("GITHUB_WORKSPACE"), gitHubVersion, apiDetails, featureFlags, logger);
if (config.languages.some(languages_1.isTracedLanguage)) {
// We currently do not support tracing on Windows 11 and Windows Server 2022
(0, util_1.checkNotWindows11)();
}
if (config.languages.includes(languages_1.Language.python) &&
(0, actions_util_1.getRequiredInput)("setup-python-dependencies") === "true") {
try {
File diff suppressed because one or more lines are too long
Generated
+1 -7
View File
@@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMlPoweredJsQueriesStatus = exports.ML_POWERED_JS_QUERIES_PACK = exports.checkNotWindows11 = exports.isGoodVersion = exports.delay = exports.bundleDb = exports.codeQlVersionAbove = exports.isHTTPError = exports.UserError = exports.HTTPError = exports.getRequiredEnvParam = exports.isActions = exports.getMode = exports.enrichEnvironment = exports.initializeEnvironment = exports.Mode = exports.assertNever = exports.getGitHubAuth = exports.apiVersionInRange = exports.DisallowedAPIVersionReason = exports.checkGitHubVersionInRange = exports.getGitHubVersion = exports.GitHubVariant = exports.parseGitHubUrl = exports.getCodeQLDatabasePath = exports.getThreadsFlag = exports.getThreadsFlagValue = exports.getAddSnippetsFlag = exports.getMemoryFlag = exports.getMemoryFlagValue = exports.withTmpDir = exports.getToolNames = exports.getExtraOptionsEnvParam = exports.DEFAULT_DEBUG_DATABASE_NAME = exports.DEFAULT_DEBUG_ARTIFACT_NAME = exports.GITHUB_DOTCOM_URL = void 0;
exports.getMlPoweredJsQueriesStatus = exports.ML_POWERED_JS_QUERIES_PACK = exports.isGoodVersion = exports.delay = exports.bundleDb = exports.codeQlVersionAbove = exports.isHTTPError = exports.UserError = exports.HTTPError = exports.getRequiredEnvParam = exports.isActions = exports.getMode = exports.enrichEnvironment = exports.initializeEnvironment = exports.Mode = exports.assertNever = exports.getGitHubAuth = exports.apiVersionInRange = exports.DisallowedAPIVersionReason = exports.checkGitHubVersionInRange = exports.getGitHubVersion = exports.GitHubVariant = exports.parseGitHubUrl = exports.getCodeQLDatabasePath = exports.getThreadsFlag = exports.getThreadsFlagValue = exports.getAddSnippetsFlag = exports.getMemoryFlag = exports.getMemoryFlagValue = exports.withTmpDir = exports.getToolNames = exports.getExtraOptionsEnvParam = exports.DEFAULT_DEBUG_DATABASE_NAME = exports.DEFAULT_DEBUG_ARTIFACT_NAME = exports.GITHUB_DOTCOM_URL = void 0;
const fs = __importStar(require("fs"));
const os = __importStar(require("os"));
const path = __importStar(require("path"));
@@ -528,12 +528,6 @@ function isGoodVersion(versionSpec) {
return !BROKEN_VERSIONS.includes(versionSpec);
}
exports.isGoodVersion = isGoodVersion;
function checkNotWindows11() {
if (os.platform() === "win32" && semver.gte(os.release(), "10.0.20348")) {
throw new Error("Tracing builds with CodeQL is currently not supported on Windows 11 and Windows Server 2022. Please modify your Actions workflow to use an earlier version of Windows for this job, for example by setting `runs-on: windows-2019`.");
}
}
exports.checkNotWindows11 = checkNotWindows11;
/**
* The ML-powered JS query pack to add to the analysis if a repo is opted into the ML-powered
* queries beta.
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -3
View File
@@ -1,6 +1,6 @@
{
"name": "codeql",
"version": "1.1.3",
"version": "1.1.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
@@ -4361,8 +4361,9 @@
}
},
"node_modules/removeNPMAbsolutePaths": {
"version": "2.0.0",
"integrity": "sha512-Hea7U6iJcD0NE/aqBqxBMPKeKaxjqMNyTTajmH2dH9hhafJ9Tem5r4UeJK8+BdE1MK9lqoOYqNM0Sq9rl1OIbQ==",
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/removeNPMAbsolutePaths/-/removeNPMAbsolutePaths-3.0.0.tgz",
"integrity": "sha512-g4DIbk+xI8YC1RafmVKaPyMcuQlKZ8N7RQMUvRv+YLHNw1PhyFtjsC6WBaiTCfDKFGQhBaRSc0b0qUjPeCdIdQ==",
"dev": true,
"bin": {
"removeNPMAbsolutePaths": "bin/removeNPMAbsolutePaths"
+1 -1
View File
@@ -46,4 +46,4 @@
"devDependencies": {
"typescript": "^3.8.3"
}
}
}
+1 -1
View File
@@ -38,4 +38,4 @@
"devDependencies": {
"@types/node": "^12.0.2"
}
}
}
+1 -1
View File
@@ -38,4 +38,4 @@
"dependencies": {
"@actions/io": "^1.0.1"
}
}
}
+1 -1
View File
@@ -47,4 +47,4 @@
"jest": "^25.1.0",
"proxy": "^1.0.1"
}
}
}
+1 -1
View File
@@ -31,4 +31,4 @@
"engines": {
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
}
}
}
+1 -1
View File
@@ -36,4 +36,4 @@
"dependencies": {
"tunnel": "0.0.6"
}
}
}
+1 -1
View File
@@ -34,4 +34,4 @@
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
}
}
}
+1 -1
View File
@@ -25,4 +25,4 @@
"tap": {
"check-coverage": true
}
}
}
+1 -1
View File
@@ -46,4 +46,4 @@
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
}
+1 -1
View File
@@ -49,4 +49,4 @@
"@types/uuid": "^3.4.4",
"nock": "^10.0.6"
}
}
}
@@ -37,4 +37,4 @@
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}
}
+1 -1
View File
@@ -55,4 +55,4 @@
"test/broken-fixtures"
]
}
}
}
+1 -1
View File
@@ -29,4 +29,4 @@
}
}
}
}
}
+1 -1
View File
@@ -31,4 +31,4 @@
"mocha": "^3.1.0",
"ndoc": "^5.0.1"
}
}
}
+1 -1
View File
@@ -61,4 +61,4 @@
"engines": {
"node": ">= 4"
}
}
}
+1 -1
View File
@@ -46,4 +46,4 @@
"scripts": {
"test": "make test"
}
}
}
@@ -44,4 +44,4 @@
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}
}
+1 -1
View File
@@ -60,4 +60,4 @@
"engines": {
"node": "^10.12.0 || >=12.0.0"
}
}
}
+1 -1
View File
@@ -32,4 +32,4 @@
"run-parallel": "^1.1.9"
},
"gitHead": "3b1ef7554ad7c061b3580858101d483fba847abf"
}
}
+1 -1
View File
@@ -26,4 +26,4 @@
"watch": "npm run clean && npm run compile:watch"
},
"gitHead": "3b1ef7554ad7c061b3580858101d483fba847abf"
}
}
+1 -1
View File
@@ -32,4 +32,4 @@
"fastq": "^1.6.0"
},
"gitHead": "3b1ef7554ad7c061b3580858101d483fba847abf"
}
}
+1 -1
View File
@@ -46,4 +46,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -45,4 +45,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -46,4 +46,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -54,4 +54,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -46,4 +46,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -48,4 +48,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -46,4 +46,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -51,4 +51,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -17,4 +17,4 @@
"octokit": {
"openapi-version": "3.1.2"
}
}
}
@@ -46,4 +46,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -48,4 +48,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
@@ -46,4 +46,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -54,4 +54,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -39,4 +39,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
@@ -46,4 +46,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -51,4 +51,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -46,4 +46,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -61,4 +61,4 @@
"types": "dist-types/index.d.ts",
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -51,4 +51,4 @@
},
"main": "dist-node/index.js",
"module": "dist-web/index.js"
}
}
+1 -1
View File
@@ -64,4 +64,4 @@
"pre-commit": "lint-staged"
}
}
}
}
+1 -1
View File
@@ -81,4 +81,4 @@
"tsd": {
"directory": "test"
}
}
}
+1 -1
View File
@@ -87,4 +87,4 @@
"pre-commit": "lint-staged"
}
}
}
}
+1 -1
View File
@@ -34,4 +34,4 @@
},
"homepage": "https://github.com/inexorabletash/text-encoding",
"license": "(Unlicense OR Apache-2.0)"
}
}
+1 -1
View File
@@ -75,4 +75,4 @@
"url": "https://opencollective.com/typescript-eslint"
},
"gitHead": "15f718415eb4e522440a5d81f38d65ee81535795"
}
}
@@ -75,4 +75,4 @@
},
"homepage": "https://github.com/mysticatea/eslint-utils#readme",
"funding": "https://github.com/sponsors/mysticatea"
}
}
+1 -1
View File
@@ -64,4 +64,4 @@
}
},
"gitHead": "15f718415eb4e522440a5d81f38d65ee81535795"
}
}
@@ -65,4 +65,4 @@
}
},
"gitHead": "101abc72f0baced5cdf609d99418ad9f10830c73"
}
}
@@ -53,4 +53,4 @@
"typescript": "*"
},
"gitHead": "101abc72f0baced5cdf609d99418ad9f10830c73"
}
}
@@ -83,4 +83,4 @@
}
},
"gitHead": "101abc72f0baced5cdf609d99418ad9f10830c73"
}
}
@@ -56,4 +56,4 @@
}
},
"gitHead": "101abc72f0baced5cdf609d99418ad9f10830c73"
}
}
@@ -52,4 +52,4 @@
"url": "https://github.com/eslint/eslint-visitor-keys/issues"
},
"homepage": "https://github.com/eslint/eslint-visitor-keys#readme"
}
}
+1 -1
View File
@@ -72,4 +72,4 @@
}
},
"gitHead": "101abc72f0baced5cdf609d99418ad9f10830c73"
}
}
+1 -1
View File
@@ -65,4 +65,4 @@
}
},
"gitHead": "15f718415eb4e522440a5d81f38d65ee81535795"
}
}
+1 -1
View File
@@ -53,4 +53,4 @@
"typescript": "*"
},
"gitHead": "15f718415eb4e522440a5d81f38d65ee81535795"
}
}
+1 -1
View File
@@ -83,4 +83,4 @@
}
},
"gitHead": "15f718415eb4e522440a5d81f38d65ee81535795"
}
}
+1 -1
View File
@@ -56,4 +56,4 @@
}
},
"gitHead": "15f718415eb4e522440a5d81f38d65ee81535795"
}
}
+1 -1
View File
@@ -24,4 +24,4 @@
"devDependencies": {
"acorn": "^8.0.1"
}
}
}
+1 -1
View File
@@ -44,4 +44,4 @@
"prepare": "cd ..; npm run build:walk"
},
"license": "MIT"
}
}
+1 -1
View File
@@ -36,4 +36,4 @@
"bin": {
"acorn": "./bin/acorn"
}
}
}
+1 -1
View File
@@ -38,4 +38,4 @@
"tsd": "^0.7.1",
"xo": "^0.25.3"
}
}
}
+1 -1
View File
@@ -103,4 +103,4 @@
"type": "github",
"url": "https://github.com/sponsors/epoberezkin"
}
}
}
+1 -1
View File
@@ -106,4 +106,4 @@
"kleur"
]
}
}
}
+1 -1
View File
@@ -52,4 +52,4 @@
"tsd": "^0.9.0",
"xo": "^0.25.3"
}
}
}
+1 -1
View File
@@ -53,4 +53,4 @@
"ava": {
"require": "babel-polyfill"
}
}
}
+1 -1
View File
@@ -45,4 +45,4 @@
"engines": {
"node": ">= 8"
}
}
}
+1 -1
View File
@@ -28,4 +28,4 @@
"mocha": "^8.0.1",
"nyc": "^15.1.0"
}
}
}
+1 -1
View File
@@ -32,4 +32,4 @@
"ava": "*",
"xo": "*"
}
}
}
+1 -1
View File
@@ -90,4 +90,4 @@
"engines": {
"node": ">= 0.4"
}
}
}
+1 -1
View File
@@ -35,4 +35,4 @@
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}
}
+1 -1
View File
@@ -93,4 +93,4 @@
"nyc"
]
}
}
}
+1 -1
View File
@@ -30,4 +30,4 @@
"argv"
],
"license": "MIT"
}
}
+1 -1
View File
@@ -32,4 +32,4 @@
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}
}
+1 -1
View File
@@ -30,4 +30,4 @@
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}
}
+1 -1
View File
@@ -47,4 +47,4 @@
"bin": {
"acorn": "./bin/acorn"
}
}
}
+1 -1
View File
@@ -42,4 +42,4 @@
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}
}
+1 -1
View File
@@ -55,4 +55,4 @@
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}
}
+1 -1
View File
@@ -51,4 +51,4 @@
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}
}
+1 -1
View File
@@ -43,4 +43,4 @@
"esModuleInterop": true
}
}
}
}
+1 -1
View File
@@ -35,4 +35,4 @@
"tsd": "^0.14.0",
"xo": "^0.39.1"
}
}
}
+1 -1
View File
@@ -39,4 +39,4 @@
"tsd": "^0.17.0",
"xo": "^0.44.0"
}
}
}
+1 -1
View File
@@ -74,4 +74,4 @@
"source/vendor"
]
}
}
}
+1 -1
View File
@@ -41,4 +41,4 @@
"browser": {
"os": false
}
}
}
+1 -1
View File
@@ -37,4 +37,4 @@
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}
}
+1 -1
View File
@@ -35,4 +35,4 @@
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}
}
+1 -1
View File
@@ -84,4 +84,4 @@
"fixtures"
]
}
}
}
+1 -1
View File
@@ -37,4 +37,4 @@
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}
}
+1 -1
View File
@@ -35,4 +35,4 @@
"mocha": "4.0.1",
"prettier": "2.0.5"
}
}
}
+1 -1
View File
@@ -52,4 +52,4 @@
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}
}
+1 -1
View File
@@ -54,4 +54,4 @@
"tsd": "^0.17.0",
"xo": "^0.44.0"
}
}
}
+1 -1
View File
@@ -145,4 +145,4 @@
"optional": true
}
}
}
}
+1 -1
View File
@@ -46,4 +46,4 @@
"android-browser/4.2..latest"
]
}
}
}
+1 -1
View File
@@ -67,4 +67,4 @@
}
]
}
}
}
+1 -1
View File
@@ -35,4 +35,4 @@
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}
}

Some files were not shown because too many files have changed in this diff Show More