From c7bb8946b20b516d73e069f426259d10807f9f7f Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 29 Aug 2022 13:27:29 -0700 Subject: [PATCH 01/44] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0e96391f0..be8c948b32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [UNRELEASED] - Downloading CodeQL packs has been moved to the `init` step. Previously, CodeQL packs were downloaded during the `analyze` step. [#1218](https://github.com/github/codeql-action/pull/1218) +- Allow CodeQL packs to be downloaded from GitHub Enterprise Server instances. [#1221](https://github.com/github/codeql-action/pull/1221) ## 2.1.21 - 25 Aug 2022 From 0e98efa2bb0a1c548df1bc9eb62f4fe02133450e Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 29 Aug 2022 12:57:46 -0700 Subject: [PATCH 02/44] Add support for downloading packs from GHES This change adds: - new `registries` block allowed in code scanning config file - new `registries-auth-tokens` input in init action - Change the downloadPacks function so that it accepts new parameters: - registries block - api auth - Generate a qlconfig.yml file with the registries block if one is supplied. Use this file when downloading packs. - temporarily set the `GITHUB_TOKEN` and `CODEQL_REGISTRIES_AUTH` based on api auth TODO: 1. integration test 2. handle pack downloads when the config is generated by the CLI --- init/action.yml | 14 +++- lib/analyze-action.js | 2 + lib/analyze-action.js.map | 2 +- lib/api-client.js | 2 + lib/api-client.js.map | 2 +- lib/codeql.js | 9 ++- lib/codeql.js.map | 2 +- lib/codeql.test.js | 2 + lib/codeql.test.js.map | 2 +- lib/config-utils.js | 73 +++++++++++++----- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 101 +++++++++++++++++++----- lib/config-utils.test.js.map | 2 +- lib/database-upload.test.js | 1 + lib/database-upload.test.js.map | 2 +- lib/feature-flags.test.js | 1 + lib/feature-flags.test.js.map | 2 +- lib/init-action.js | 1 + lib/init-action.js.map | 2 +- lib/runner.js | 3 + lib/runner.js.map | 2 +- lib/upload-sarif-action.js | 1 + lib/upload-sarif-action.js.map | 2 +- lib/util.test.js | 4 + lib/util.test.js.map | 2 +- src/analyze-action.ts | 3 + src/api-client.ts | 6 +- src/codeql.test.ts | 2 + src/codeql.ts | 18 ++++- src/config-utils.test.ts | 132 ++++++++++++++++++++++++++------ src/config-utils.ts | 113 ++++++++++++++++++++++----- src/database-upload.test.ts | 1 + src/feature-flags.test.ts | 1 + src/init-action.ts | 1 + src/runner.ts | 3 + src/upload-sarif-action.ts | 1 + src/util.test.ts | 4 + 37 files changed, 424 insertions(+), 99 deletions(-) diff --git a/init/action.yml b/init/action.yml index f407373715..22c0c1ff1b 100644 --- a/init/action.yml +++ b/init/action.yml @@ -10,9 +10,19 @@ inputs: description: The languages to be analysed required: false token: + description: GitHub token to use for authenticating with this instance of GitHub. To download custom packs from multiple registries, use registries-auth-tokens. default: ${{ github.token }} + required: false + registries-auth-tokens: + description: | + Authenticate to GitHub Enterprise Server Container registries by passing a comma-separated list of = pairs. + + For example, you can pass `https://containers.GHEHOSTNAME1/v2/=TOKEN1,https://containers.GHEHOSTNAME2/v2/=TOKEN2`` to authenticate to two GitHub Enterprise Server instances. + This overrides the `token` input for pack downloads. + required: false matrix: default: ${{ toJson(matrix) }} + required: false config-file: description: Path of the config file to use required: false @@ -32,7 +42,7 @@ inputs: analyses, you must specify packs in the codeql-config.yml file. required: false external-repository-token: - description: A token for fetching external config files and queries if they reside in a private repository. + description: A token for fetching external config files and queries if they reside in a private repository in the same GitHub instance that is running this action. required: false setup-python-dependencies: description: Try to auto-install your python dependencies @@ -82,4 +92,4 @@ outputs: runs: using: 'node16' main: '../lib/init-action.js' - post: '../lib/init-action-post.js' \ No newline at end of file + post: '../lib/init-action-post.js' diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 9d06ffbade..f32a7e8789 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -95,6 +95,8 @@ async function run() { auth: actionsUtil.getRequiredInput("token"), url: util.getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: util.getRequiredEnvParam("GITHUB_API_URL"), + // not needed or available in the analize action + registriesAuthTokens: undefined, }; const outputDir = actionsUtil.getRequiredInput("output"); const threads = util.getThreadsFlag(actionsUtil.getOptionalInput("threads") || process.env["CODEQL_THREADS"], logger); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 96b28763bd..a4d04c7cee 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAqD;AACrD,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CA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ACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAqD;AACrD,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CA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B,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/api-client.js b/lib/api-client.js index d3d72847aa..7332349adc 100644 --- a/lib/api-client.js +++ b/lib/api-client.js @@ -65,6 +65,8 @@ function getApiDetails() { auth: (0, actions_util_1.getRequiredInput)("token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), + // only available in the init action + registriesAuthTokens: (0, actions_util_1.getOptionalInput)("registries-auth-tokens"), }; } // Temporary function to aid in the transition to running on and off of github actions. diff --git a/lib/api-client.js.map b/lib/api-client.js.map index 8f9f9960a1..cc7d94fd29 100644 --- a/lib/api-client.js.map +++ b/lib/api-client.js.map @@ -1 +1 @@ -{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,uEAAyD;AACzD,6DAA+C;AAC/C,0EAAgD;AAEhD,iDAAkD;AAClD,6CAA+B;AAC/B,iCAAqE;AAErE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,+FAAc,CAAA;IACd,+FAAc,CAAA;AAChB,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC;AAiBM,MAAM,YAAY,GAAG,UAC1B,UA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AA,oBAAY,EAAC,aAAa,EAAE,CAAC,CAAC;AACvC,CAAC;AAFD,kDAEC;AAED,IAAI,mBAAmB,GAA8B,SAAS,CAAC;AAE/D;;;;;;;GAOG;AACI,KAAK,UAAU,2BAA2B;IAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;IACD,IAAI,mBAAmB,KAAK,SAAS,EAAE;QACrC,mBAAmB,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAC;KACpE;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AARD,kEAQC"} \ No newline at end of file diff --git a/lib/codeql.js b/lib/codeql.js index 67bdd2da4f..66586f3d62 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -733,11 +733,18 @@ async function getCodeQLForCmd(cmd, checkVersion) { * If no version is specified, then the latest version is * downloaded. The check to determine what the latest version is is done * each time this package is requested. + * + * Optionally, a `qlconfigFile` is included. If used, then this file + * is used to determine which registry each pack is downloaded from. */ - async packDownload(packs) { + async packDownload(packs, qlconfigFile) { + const qlconfigArg = qlconfigFile + ? [`--qlconfig-file=${qlconfigFile}`] + : []; const codeqlArgs = [ "pack", "download", + ...qlconfigArg, "--format=json", "--resolve-query-specs", ...getExtraOptionsFromEnv(["pack", "download"]), diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 4f33d9dbc5..fd53a4d878 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,sEAAuD;AACvD,8CAAgC;AAChC,gEAAsD;AACtD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAA6E;AAC7E,kDAAoC;AAEp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C,KAAK,CAAC;KAC9B;IACD,IAAI,MAAM,CAAC,sBAAsB,CAAC,iBAAiB,EAAE;QACnD,uEAAuE;QACvE,0DAA0D;QAC1D,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC;QAEhE,IAAI,eAAe,CAAC,KAAK,KAAK,SAAS;YAAE,eAAe,CAAC,KAAK,GAAG,EAAE,CAAC;QACpE,IAAI,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;YACxC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACxC;aAAM;YACL,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,UAAU;gBACnC,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;YAC3C,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACtD;KACF;IAED,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7D,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,WAAW,CAAC,GAAQ;IAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index 8b0851af81..64c74fdf4b 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -45,11 +45,13 @@ const sampleApiDetails = { auth: "token", url: "https://github.com", apiURL: undefined, + registriesAuthTokens: undefined, }; const sampleGHAEApiDetails = { auth: "token", url: "https://example.githubenterprise.com", apiURL: undefined, + registriesAuthTokens: undefined, }; let stubConfig; ava_1.default.beforeEach(() => { diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index 81a4720930..7b5664e11d 100644 --- a/lib/codeql.test.js.map +++ b/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M,CAAC,2BAA2B,CAAC,CAAC;QAEhD,MAAM,YAAY,CAAC,mBAAmB,CACpC,UAAU,EACV,EAAE,EACF,SAAS,EACT,SAAS,EACT,IAAA,kCAAkB,EAAC,EAAE,CAAC,EACtB,IAAA,yBAAe,EAAC,IAAI,CAAC,CACtB,CAAC;QAEF,MAAM,IAAI,GAAG,qBAAqB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACrD,kCAAkC;QAClC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAW,EAAE,EAAE,CAC1C,GAAG,CAAC,UAAU,CAAC,wBAAwB,CAAC,CACzC,CAAC;QACF,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,gDAAgD,CAAC,CAAC;KACtE;YAAS;QACR,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,GAAG,6BAA6B,CAAC;KAC1E;AACH,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB;IAIvC,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClC,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACnE,qBAAqB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChD,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AATD,8DASC"} \ No newline at end of file +{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAG/B,iDAAmC;AAEnC,0DAA4C;AAC5C,mDAAgF;AACh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CAAC,CAAC,CAAC;QACrD,kCAAkC;QAClC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAW,EAAE,EAAE,CAC1C,GAAG,CAAC,UAAU,CAAC,wBAAwB,CAAC,CACzC,CAAC;QACF,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,gDAAgD,CAAC,CAAC;KACtE;YAAS;QACR,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,GAAG,6BAA6B,CAAC;KAC1E;AACH,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB;IAIvC,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClC,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACnE,qBAAqB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChD,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AATD,8DASC"} \ No newline at end of file diff --git a/lib/config-utils.js b/lib/config-utils.js index e21572bbe4..26e35c3dc5 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -909,7 +909,7 @@ async function initConfig(languagesInput, queriesInput, packsInput, configFile, // happen in the CLI during the `database init` command, so no need // to download them here. if (!(await (0, util_1.useCodeScanningConfigInCli)(codeQL))) { - await downloadPacks(codeQL, config.languages, config.packs, logger); + await downloadPacks(codeQL, config.languages, config.packs, config.originalUserInput.registries, apiDetails, config.tempDir, logger); } // Save the config so we can easily access it again in the future await saveConfig(config, logger); @@ -995,27 +995,62 @@ async function getConfig(tempDir, logger) { return JSON.parse(configString); } exports.getConfig = getConfig; -async function downloadPacks(codeQL, languages, packs, logger) { - let numPacksDownloaded = 0; - logger.startGroup("Downloading packs"); - for (const language of languages) { - const packsWithVersion = packs[language]; - if (packsWithVersion === null || packsWithVersion === void 0 ? void 0 : packsWithVersion.length) { - logger.info(`Downloading custom packs for ${language}`); - const results = await codeQL.packDownload(packsWithVersion); - numPacksDownloaded += results.packs.length; - logger.info(`Downloaded packs: ${results.packs - .map((r) => `${r.name}@${r.version || "latest"}`) - .join(", ")}`); +async function downloadPacks(codeQL, languages, packs, registries, apiDetails, tmpDir, logger) { + let qlconfigFile; + if (registries) { + // generate a qlconfig.yml file to hold the registry configs. + const qlconfig = { + registries, + }; + qlconfigFile = path.join(tmpDir, "qlconfig.yml"); + fs.writeFileSync(qlconfigFile, yaml.dump(qlconfig), "utf8"); + } + await wrapEnvironment({ + GITHUB_TOKEN: apiDetails.auth, + CODEQL_REGISTRIES_AUTH: apiDetails.registriesAuthTokens, + }, async () => { + let numPacksDownloaded = 0; + logger.startGroup("Downloading packs"); + for (const language of languages) { + const packsWithVersion = packs[language]; + if (packsWithVersion === null || packsWithVersion === void 0 ? void 0 : packsWithVersion.length) { + logger.info(`Downloading custom packs for ${language}`); + const results = await codeQL.packDownload(packsWithVersion, qlconfigFile); + numPacksDownloaded += results.packs.length; + logger.info(`Downloaded: ${results.packs + .map((r) => `${r.name}@${r.version || "latest"}`) + .join(", ")}`); + } + } + if (numPacksDownloaded > 0) { + logger.info(`Downloaded ${numPacksDownloaded} ${packs === 1 ? "pack" : "packs"}`); + } + else { + logger.info("No packs to download"); + } + logger.endGroup(); + }); +} +exports.downloadPacks = downloadPacks; +async function wrapEnvironment(env, operation) { + // Remember the original env + const oldEnv = { ...process.env }; + // Set the new env + for (const [key, value] of Object.entries(env)) { + // Ignore undefined keys + if (value !== undefined) { + process.env[key] = value; } } - if (numPacksDownloaded > 0) { - logger.info(`Downloaded ${numPacksDownloaded} ${packs === 1 ? "pack" : "packs"}`); + try { + // Run the operation + await operation(); } - else { - logger.info("No packs to download"); + finally { + // Restore the old env + for (const [key, value] of Object.entries(oldEnv)) { + process.env[key] = value; + } } - logger.endGroup(); } -exports.downloadPacks = downloadPacks; //# sourceMappingURL=config-utils.js.map \ No newline at end of file diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index 46e3431804..18a3e5be76 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAkM/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,CACvE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAC9B,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,e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CACT,qBAAqB,OAAO,CAAC,KAAK;iBAC/B,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,IAAI,QAAQ,EAAE,CAAC;iBAChD,IAAI,CAAC,IAAI,CAAC,EAAE,CAChB,CAAC;SACH;KACF;IAED,IAAI,kBAAkB,GAAG,CAAC,EAAE;QAC1B,MAAM,CAAC,IAAI,CACT,cAAc,kBAAkB,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CACrE,CAAC;KACH;SAAM;QACL,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;KACrC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AA9BD,sCA8BC"} \ No newline at end of file +{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAgN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU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,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CACrE,CAAC;SACH;aAAM;YACL,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;SACrC;QACD,MAAM,CAAC,QAAQ,EAAE,CAAC;IACpB,CAAC,CACF,CAAC;AACJ,CAAC;AArDD,sCAqDC;AAED,KAAK,UAAU,eAAe,CAC5B,GAAuC,EACvC,SAAmB;IAEnB,4BAA4B;IAC5B,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAElC,kBAAkB;IAClB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index 3d34782991..06d905565a 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -26,6 +26,7 @@ const fs = __importStar(require("fs")); const path = __importStar(require("path")); const github = __importStar(require("@actions/github")); const ava_1 = __importDefault(require("ava")); +const yaml = __importStar(require("js-yaml")); const sinon = __importStar(require("sinon")); const api = __importStar(require("./api-client")); const codeql_1 = require("./codeql"); @@ -41,6 +42,7 @@ const sampleApiDetails = { externalRepoAuth: "token", url: "https://github.example.com", apiURL: undefined, + registriesAuthTokens: undefined, }; const gitHubVersion = { type: util.GitHubVariant.DOTCOM }; // Returns the filepath of the newly-created file @@ -1087,24 +1089,87 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ (0, ava_1.default)(calculateAugmentationErrorMacro, "Packs input with multiple languages", " + a/b, c/d ", undefined, [languages_1.Language.javascript, languages_1.Language.java], /Cannot specify a 'packs' input in a multi-language analysis/); (0, ava_1.default)(calculateAugmentationErrorMacro, "Packs input with no languages", " + a/b, c/d ", undefined, [], /No languages specified/); (0, ava_1.default)(calculateAugmentationErrorMacro, "Invalid packs", " a-pack-without-a-scope ", undefined, [languages_1.Language.javascript], /"a-pack-without-a-scope" is not a valid pack/); -(0, ava_1.default)("downloadPacks", async (t) => { - const packDownloadStub = sinon.stub(); - packDownloadStub.callsFake((packs) => ({ - packs, - })); - const codeQL = (0, codeql_1.setCodeQL)({ - packDownload: packDownloadStub, +(0, ava_1.default)("downloadPacks-no-registries", async (t) => { + return await util.withTmpDir(async (tmpDir) => { + const packDownloadStub = sinon.stub(); + packDownloadStub.callsFake((packs) => ({ + packs, + })); + const codeQL = (0, codeql_1.setCodeQL)({ + packDownload: packDownloadStub, + }); + const logger = (0, logging_1.getRunnerLogger)(true); + // packs are supplied for go, java, and python + // analyzed languages are java, javascript, and python + await configUtils.downloadPacks(codeQL, [languages_1.Language.javascript, languages_1.Language.java, languages_1.Language.python], { + java: ["a", "b"], + go: ["c", "d"], + python: ["e", "f"], + }, undefined, sampleApiDetails, tmpDir, logger); + t.deepEqual(packDownloadStub.callCount, 2); + // no config file was created, so pass `undefined` as the config file path + t.deepEqual(packDownloadStub.firstCall.args, [["a", "b"], undefined]); + t.deepEqual(packDownloadStub.secondCall.args, [["e", "f"], undefined]); + }); +}); +(0, ava_1.default)("downloadPacks-with-registries", async (t) => { + // same thing, but this time include a registries block and + // associated env vars + return await util.withTmpDir(async (tmpDir) => { + process.env.GITHUB_TOKEN = "not-a-token"; + process.env.CODEQL_REGISTRIES_AUTH = "not-a-registries-auth"; + const logger = (0, logging_1.getRunnerLogger)(true); + const apiDetails = { + ...sampleApiDetails, + registriesAuthTokens: "registries-auth", + }; + const registries = [ + { + url: "http://ghcr.io", + packages: ["codeql/*", "dsp-testing/*"], + }, + { + url: "https://containers.GHEHOSTNAME1/v2/", + packages: "semmle/*", + }, + ]; + const expectedConfigFile = path.join(tmpDir, "qlconfig.yml"); + const packDownloadStub = sinon.stub(); + packDownloadStub.callsFake((packs, configFile) => { + t.deepEqual(configFile, expectedConfigFile); + // verify the env vars were set correctly + t.deepEqual(process.env.GITHUB_TOKEN, "token"); + t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "registries-auth"); + // verify the config file contents were set correctly + const config = yaml.load(fs.readFileSync(configFile, "utf8")); + t.deepEqual(config.registries, registries); + return { + packs, + }; + }); + const codeQL = (0, codeql_1.setCodeQL)({ + packDownload: packDownloadStub, + }); + // packs are supplied for go, java, and python + // analyzed languages are java, javascript, and python + await configUtils.downloadPacks(codeQL, [languages_1.Language.javascript, languages_1.Language.java, languages_1.Language.python], { + java: ["a", "b"], + go: ["c", "d"], + python: ["e", "f"], + }, registries, apiDetails, tmpDir, logger); + // Same packs are downloaded as in previous test + t.deepEqual(packDownloadStub.callCount, 2); + t.deepEqual(packDownloadStub.firstCall.args, [ + ["a", "b"], + expectedConfigFile, + ]); + t.deepEqual(packDownloadStub.secondCall.args, [ + ["e", "f"], + expectedConfigFile, + ]); + // Verify that the env vars were unset. + t.deepEqual(process.env.GITHUB_TOKEN, "not-a-token"); + t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "not-a-registries-auth"); }); - const logger = (0, logging_1.getRunnerLogger)(true); - // packs are supplied for go, java, and python - // analyzed languages are java, javascript, and python - await configUtils.downloadPacks(codeQL, [languages_1.Language.javascript, languages_1.Language.java, languages_1.Language.python], { - java: ["a", "b"], - go: ["c", "d"], - python: ["e", "f"], - }, logger); - t.deepEqual(packDownloadStub.callCount, 2); - t.deepEqual(packDownloadStub.firstCall.args, [["a", "b"]]); - t.deepEqual(packDownloadStub.secondCall.args, [["e", "f"]]); }); //# sourceMappingURL=config-utils.test.js.map \ No newline at end of file diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index 94651a3dc5..4a707bbce5 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC5D,OAAO,cAAc,CAAC;AACxB,CAAC;AAID,SAAS,eAAe,CACtB,OAA4B;IAE5B,kEAAkE;IAClE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG;QACf,IAAI,EAAE,OAAO;KACd,CAAC;IACF,MAAM,cAAc,GAAG,KAAK;S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IAAI,EAAE,oBAAQ,CAAC,MAAM,CAAC,EACrD;QACE,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;QAChB,EAAE,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;QACd,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;KACnB,EACD,MAAM,CACP,CAAC;IAEF,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IAC3C,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IAC3D,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AAC9D,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAA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C,CAAC;QAEH,MAAM,MAAM,GAAG,IAAA,kBAAS,EAAC;YACvB,YAAY,EAAE,gBAAgB;SAC/B,CAAC,CAAC;QAEH,8CAA8C;QAC9C,sDAAsD;QACtD,MAAM,WAAW,CAAC,aAAa,CAC7B,MAAM,EACN,CAAC,oBAAQ,CAAC,UAAU,EAAE,oBAAQ,CAAC,IAAI,EAAE,oBAAQ,CAAC,MAAM,CAAC,EACrD;YACE,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YAChB,EAAE,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YACd,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;SACnB,EACD,UAAU,EACV,UAAU,EACV,MAAM,EACN,MAAM,CACP,CAAC;QAEF,gDAAgD;QAChD,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,EAAE;YAC3C,CAAC,GAAG,EAAE,GAAG,CAAC;YACV,kBAAkB;SACnB,CAAC,CAAC;QACH,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,EAAE;YAC5C,CAAC,GAAG,EAAE,GAAG,CAAC;YACV,kBAAkB;SACnB,CAAC,CAAC;QAEH,uCAAuC;QACvC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;QACrD,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/database-upload.test.js b/lib/database-upload.test.js index ff8a89f0bc..6c594a127e 100644 --- a/lib/database-upload.test.js +++ b/lib/database-upload.test.js @@ -43,6 +43,7 @@ const testApiDetails = { auth: "1234", url: "https://github.com", apiURL: undefined, + registriesAuthTokens: undefined, }; function getTestConfig(tmpDir) { return { diff --git a/lib/database-upload.test.js.map b/lib/database-upload.test.js.map index 19193a8839..092b3532cc 100644 --- a/lib/database-upload.test.js.map +++ b/lib/database-upload.test.js.map @@ -1 +1 @@ -{"version":3,"file":"database-upload.test.js","sourceRoot":"","sources":["../src/database-upload.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,wDAA0C;AAC1C,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAE9C,wDAA0C;AAC1C,qCAAqC;AACrC,iDAAuE;AACvE,uDAAoD;AACpD,2CAAuC;AAEvC,mDAKyB;AACzB,iCAQgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAkB,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AACzE,MAAM,cAAc,GAAqB;IACvC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO;QACL,SAAS,EAAE,CAAC,oBAAQ,CAAC,UAAU,CAAC;QAChC,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,EAAE;QACT,iBAAiB,EAAE,EAAE;QACrB,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,MAAM,EAAE;QAC7C,UAAU,EAAE,MAAM;QAClB,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,KAAK;QAChB,iBAAiB,EAAE,kCAA2B;QAC9C,iBA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AA+C,CAChE,KAAK,SAAS,CAChB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,yDAAyD,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC1E,MAAM,IAAA,iBAAU,EAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAChC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,KAAK;aACF,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC;aACrC,QAAQ,CAAC,iBAAiB,CAAC;aAC3B,OAAO,CAAC,MAAM,CAAC,CAAC;QACnB,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,0BAA0B,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAEnE,MAAM,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAE5B,IAAA,kBAAS,EAAC;YACR,KAAK,CAAC,cAAc,CAAC,CAAS,EAAE,cAAsB;gBACpD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;YACvC,CAAC;SACF,CAAC,CAAC;QAEH,MAAM,cAAc,GAAG,EAAqB,CAAC;QAC7C,MAAM,IAAA,iCAAe,EACnB,YAAY,EACZ,aAAa,CAAC,MAAM,CAAC,EACrB,cAAc,EACd,IAAA,kCAAkB,EAAC,cAAc,CAAC,CACnC,CAAC;QACF,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,IAAI,KAAK,OAAO;YAClB,CAAC,CAAC,OAAO,KAAK,+CAA+C,CAChE,KAAK,SAAS,CAChB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"database-upload.test.js","sourceRoot":"","sources":["../src/database-upload.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,wDAA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CAAC;QACjC,KAAK;aACF,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC;aACrC,QAAQ,CAAC,iBAAiB,CAAC;aAC3B,OAAO,CAAC,MAAM,CAAC,CAAC;QACnB,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,0BAA0B,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAEnE,MAAM,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAE5B,IAAA,kBAAS,EAAC;YACR,KAAK,CAAC,cAAc,CAAC,CAAS,EAAE,cAAsB;gBACpD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;YACvC,CAAC;SACF,CAAC,CAAC;QAEH,MAAM,cAAc,GAAG,EAAqB,CAAC;QAC7C,MAAM,IAAA,iCAAe,EACnB,YAAY,EACZ,aAAa,CAAC,MAAM,CAAC,EACrB,cAAc,EACd,IAAA,kCAAkB,EAAC,cAAc,CAAC,CACnC,CAAC;QACF,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,IAAI,KAAK,OAAO;YAClB,CAAC,CAAC,OAAO,KAAK,+CAA+C,CAChE,KAAK,SAAS,CAChB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.test.js b/lib/feature-flags.test.js index 31ef1dbfc3..b27d706d32 100644 --- a/lib/feature-flags.test.js +++ b/lib/feature-flags.test.js @@ -17,6 +17,7 @@ const testApiDetails = { auth: "1234", url: "https://github.com", apiURL: undefined, + registriesAuthTokens: undefined, }; const testRepositoryNwo = (0, repository_1.parseRepositoryNwo)("github/example"); const ALL_FEATURE_FLAGS_DISABLED_VARIANTS = [ diff --git a/lib/feature-flags.test.js.map b/lib/feature-flags.test.js.map index ec4b88ea92..35f8f7abd8 100644 --- a/lib/feature-flags.test.js.map +++ b/lib/feature-flags.test.js.map @@ -1 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,MAAM,YAAY,CAAC,QAAQ,CACrD,2BAAW,CAAC,uBAAuB,CACpC;gBACD,yBAAyB,EAAE,MAAM,YAAY,CAAC,QAAQ,CACpD,2BAAW,CAAC,sBAAsB,CACnC;aACF,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"feature-flags.test.js","sourceRoot":"","sources":["../src/feature-flags.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AAGvB,mDAAkE;AAClE,uCAA4C;AAC5C,6CAAkD;AAClD,mDAMyB;AAEzB,iCAAgF;AAEhF,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAqB;IACvC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,iBAAiB,GAAG,IAAA,+BAAkB,EAAC,gBAAgB,CAAC,CAAC;AAE/D,MAAM,mCAAmC,GAGpC;IACH;QACE,WAAW,EAAE,MAAM;QACnB,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE;KAC9D;IACD,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,IAAI,EAAE,EAAE;CACrE,CAAC;AAEF,KAAK,MAAM,OAAO,IAAI,mCAAmC,EAAE;IACzD,IAAA,aAAI,EAAC,qDAAqD,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QA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YAEF,MAAM,oBAAoB,GAAgC,EAAE,CAAC;YAC7D,KAAK,MAAM,CAAC,IAAI,aAAa,EAAE;gBAC7B,oBAAoB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;aACjC;YACD,oBAAoB,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;YACzC,IAAA,0CAA0B,EAAC,GAAG,EAAE,oBAAoB,CAAC,CAAC;YAEtD,MAAM,kBAAkB,GAAgC;gBACtD,0BAA0B,EAAE,MAAM,YAAY,CAAC,QAAQ,CACrD,2BAAW,CAAC,uBAAuB,CACpC;gBACD,yBAAyB,EAAE,MAAM,YAAY,CAAC,QAAQ,CACpD,2BAAW,CAAC,sBAAsB,CACnC;aACF,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index fb16a05058..bb95a93c8e 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -84,6 +84,7 @@ async function run() { externalRepoAuth: (0, actions_util_1.getOptionalInput)("external-repository-token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), + registriesAuthTokens: (0, actions_util_1.getOptionalInput)("registries-auth-tokens"), }; const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger, util_1.Mode.actions); diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 4134a064d8..78470b769b 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,oDAAsC;AAEtC,iDASwB;AACxB,6CAA2D;AAC3D,qCAA8D;A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UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,uBAAuB,KAAK,EAAE,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,oDAAsC;AAEtC,iDASwB;AACxB,6CAA2D;AAC3D,qCAA8D;AAE9D,mDAAgF;AAChF,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAmD;AACnD,iCAagB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AA+BvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,MAA0B,EAC1B,YAAoB,EACpB,MAAc;;IAEd,MAAM,gBAAgB,GAAG,MAAM,IAAA,qCAAsB,EACnD,MAAM,EACN,SAAS,EACT,SAAS,CACV,CAAC;IAEF,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC7C,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IACxD,MAAM,KAAK,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/D,MAAM,WAAW,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CACvE,GAAG,CACJ,CAAC;IACF,MAAM,qBAAqB,GAAG,MAAM,CAAC,iBAAiB,CACpD,yBAAyB,CAC1B;QACC,CAAC,CAAC,SAAS;QACX,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K,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CACjD,CACF,CAAC;QACF,OAAO;KACR;IACD,MAAM,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,qBAAqB,CAClC,YAA0B;IAE1B,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAC7D,OAAO,MAAM,YAAY,CAAC,QAAQ,CAAC,2BAAW,CAAC,kBAAkB,CAAC,CAAC;AACrE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,uBAAuB,KAAK,EAAE,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/runner.js b/lib/runner.js index 86e4c4feed..499506c3d7 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -137,6 +137,7 @@ program externalRepoAuth: auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), apiURL: undefined, + registriesAuthTokens: undefined, }; const gitHubVersion = await (0, util_1.getGitHubVersion)(apiDetails); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger, util_1.Mode.runner); @@ -279,6 +280,7 @@ program auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), apiURL: undefined, + registriesAuthTokens: undefined, }; const outputDir = cmd.outputDir || path.join(config.tempDir, "codeql-sarif"); let initEnv = {}; @@ -325,6 +327,7 @@ program auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), apiURL: undefined, + registriesAuthTokens: undefined, }; try { const gitHubVersion = await (0, util_1.getGitHubVersion)(apiDetails); diff --git a/lib/runner.js.map b/lib/runner.js.map index 2d476a782c..a9eae7ca2f 100644 --- a/lib/runner.js.map +++ b/lib/runner.js.map @@ -1 +1 @@ -{"version":3,"file":"runner.js","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yCAAoC;AACpC,8CAAsB;AAEtB,uCAAoD;AACpD,2CAAuE;AACvE,qCAAyE;AACzE,iDAAmD;AACnD,mDAAqD;AACrD,iCAA8E;AAC9E,2CAAsD;AACtD,uCAA4C;AAC5C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAcgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAC9B,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE;IAClD,IAAA,4BAAqB,EAAC,WAAI,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH,SAAS,UAAU,CAAC,SAA6B;IAC/C,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,eAAe,CAAC,CAAC;IACvE,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;QAC3B,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;KAC5C;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAEhD,SAAS,qBAAqB,CAAC,MAAc;IAC3C,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OA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AE,EAAE;IAChC,MAAM,MAAM,GAAG,IAAA,yBAAe,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC1C,MAAM,IAAI,GAAG,MAAM,IAAA,oBAAa,EAC9B,MAAM,EACN,GAAG,CAAC,UAAU,EACd,GAAG,CAAC,eAAe,CACpB,CAAC;IACF,MAAM,UAAU,GAAG;QACjB,IAAI;QACJ,GAAG,EAAE,IAAA,qBAAc,EAAC,GAAG,CAAC,SAAS,CAAC;QAClC,MAAM,EAAE,SAAS;QACjB,oBAAoB,EAAE,SAAS;KAChC,CAAC;IACF,IAAI;QACF,MAAM,aAAa,GAAG,MAAM,IAAA,uBAAgB,EAAC,UAAU,CAAC,CAAC;QACzD,MAAM,UAAU,GAAG,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;QACrD,MAAM,UAAU,CAAC,gBAAgB,CAC/B,GAAG,CAAC,SAAS,EACb,IAAA,+BAAkB,EAAC,GAAG,CAAC,UAAU,CAAC,EAClC,GAAG,CAAC,MAAM,EACV,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EACjB,GAAG,CAAC,QAAQ,EACZ,UAAU,EACV,aAAa,EACb,UAAU,EACV,MAAM,CACP,CAAC;KACH;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAC9B,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5D,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;KACtB;AACH,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js index 869f33998d..e03242607a 100644 --- a/lib/upload-sarif-action.js +++ b/lib/upload-sarif-action.js @@ -48,6 +48,7 @@ async function run() { auth: actionsUtil.getRequiredInput("token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), + registriesAuthTokens: undefined, }; const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); const uploadResult = await upload_lib.uploadFromActions(actionsUtil.getRequiredInput("sarif_file"), gitHubVersion, apiDetails, (0, logging_1.getActionsLogger)()); diff --git a/lib/upload-sarif-action.js.map b/lib/upload-sarif-action.js.map index 3ed21f8a58..3ef50b5186 100644 --- a/lib/upload-sarif-action.js.map +++ b/lib/upload-sarif-action.js.map @@ -1 +1 @@ -{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAA2D;AAC3D,uCAA6C;AAC7C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAMvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,WAA0C;IAE1C,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,cAAc,EACd,SAAS,EACT,SAAS,CACV,CAAC;IACF,MAAM,YAAY,GAA4B;QAC5C,GAAG,gBAAgB;QACnB,GAAG,WAAW;KACf,CAAC;IACF,MAAM,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;AACnD,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,IAAA,yBAAkB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtC,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AAM,KAAK,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,WAAW,CAAC,gBAAgB,CAChC,MAAM,WAAW,CAAC,sBAAsB,CACtC,cAAc,EACd,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,EACnC,SAAS,EACT,OAAO,EACP,KAAK,CACN,CACF,CAAC;QACF,OAAO;KACR;AACH,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,sCAAsC,KAAK,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAA2D;AAC3D,uCAA6C;AAC7C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAMvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,WAA0C;IAE1C,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,cAAc,EACd,SAAS,EACT,SAAS,CACV,CAAC;IACF,MAAM,YAAY,GAA4B;QAC5C,GAAG,gBAAgB;QACnB,GAAG,WAAW;KACf,CAAC;IACF,MAAM,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC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0BAAgB,GAAE,CACnB,CAAC;SACH;QACD,MAAM,uBAAuB,CAAC,SAAS,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;KACrE;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvE,MAAM,KAAK,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,WAAW,CAAC,gBAAgB,CAChC,MAAM,WAAW,CAAC,sBAAsB,CACtC,cAAc,EACd,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,EACnC,SAAS,EACT,OAAO,EACP,KAAK,CACN,CACF,CAAC;QACF,OAAO;KACR;AACH,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,sCAAsC,KAAK,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/util.test.js b/lib/util.test.js index d3e85b15b7..0a18c7a43e 100644 --- a/lib/util.test.js +++ b/lib/util.test.js @@ -156,6 +156,7 @@ function mockGetMetaVersionHeader(versionHeader) { auth: "", url: "https://github.com", apiURL: undefined, + registriesAuthTokens: undefined, }); t.deepEqual(util.GitHubVariant.DOTCOM, v.type); mockGetMetaVersionHeader("2.0"); @@ -163,6 +164,7 @@ function mockGetMetaVersionHeader(versionHeader) { auth: "", url: "https://ghe.example.com", apiURL: undefined, + registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHES, version: "2.0" }, v2); mockGetMetaVersionHeader("GitHub AE"); @@ -170,6 +172,7 @@ function mockGetMetaVersionHeader(versionHeader) { auth: "", url: "https://example.githubenterprise.com", apiURL: undefined, + registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHAE }, ghae); mockGetMetaVersionHeader(undefined); @@ -177,6 +180,7 @@ function mockGetMetaVersionHeader(versionHeader) { auth: "", url: "https://ghe.example.com", apiURL: undefined, + registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.DOTCOM }, v3); }); diff --git a/lib/util.test.js.map b/lib/util.test.js.map index 81ab579f66..473007d423 100644 --- a/lib/util.test.js.map +++ b/lib/util.test.js.map @@ -1 +1 @@ -{"version":3,"file":"util.test.js","sourceRoot":"","sources":["../src/util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,gDAAwB;AACxB,+CAAiC;AAEjC,oDAAsC;AACtC,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AAEpC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,cAAc,EAAE,CAAC,CAAC,EAAE,EAAE;IACzB,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,CAC3B,GAAG,SAAS,mCAAmC,EAC/C,MAAM,CACP,CAAC;IACF,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,+BAA+B,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sDAAsD,EAAE,CAA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CAAC;QAC9D,EAAE,CAAC,aAAa,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAE,EAAE,CAAC,CAAC;QAE9D,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;YACnC,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,sBAAsB,CAAC;YAC/C,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC;YACvC,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC;YACvC,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC;SACxC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 74d71b6df4..24c20f333b 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -143,6 +143,9 @@ async function run() { auth: actionsUtil.getRequiredInput("token"), url: util.getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: util.getRequiredEnvParam("GITHUB_API_URL"), + + // not needed or available in the analize action + registriesAuthTokens: undefined, }; const outputDir = actionsUtil.getRequiredInput("output"); const threads = util.getThreadsFlag( diff --git a/src/api-client.ts b/src/api-client.ts index 59cfa764a0..6ba22cf72b 100644 --- a/src/api-client.ts +++ b/src/api-client.ts @@ -4,7 +4,7 @@ import * as githubUtils from "@actions/github/lib/utils"; import * as retry from "@octokit/plugin-retry"; import consoleLogLevel from "console-log-level"; -import { getRequiredInput } from "./actions-util"; +import { getOptionalInput, getRequiredInput } from "./actions-util"; import * as util from "./util"; import { getMode, getRequiredEnvParam, GitHubVersion } from "./util"; @@ -23,6 +23,7 @@ export interface GitHubApiDetails { auth: string; url: string; apiURL: string | undefined; + registriesAuthTokens: string | undefined; } export interface GitHubApiExternalRepoDetails { @@ -68,6 +69,9 @@ function getApiDetails() { auth: getRequiredInput("token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: getRequiredEnvParam("GITHUB_API_URL"), + + // only available in the init action + registriesAuthTokens: getOptionalInput("registries-auth-tokens"), }; } diff --git a/src/codeql.test.ts b/src/codeql.test.ts index 3f2e775e39..17a7a8a03e 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -26,12 +26,14 @@ const sampleApiDetails = { auth: "token", url: "https://github.com", apiURL: undefined, + registriesAuthTokens: undefined, }; const sampleGHAEApiDetails = { auth: "token", url: "https://example.githubenterprise.com", apiURL: undefined, + registriesAuthTokens: undefined, }; let stubConfig: Config; diff --git a/src/codeql.ts b/src/codeql.ts index 3ea2352940..19efae9711 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -134,7 +134,10 @@ export interface CodeQL { /** * Run 'codeql pack download'. */ - packDownload(packs: string[]): Promise; + packDownload( + packs: string[], + qlconfigFile: string | undefined + ): Promise; /** * Run 'codeql database cleanup'. @@ -1086,11 +1089,22 @@ async function getCodeQLForCmd( * If no version is specified, then the latest version is * downloaded. The check to determine what the latest version is is done * each time this package is requested. + * + * Optionally, a `qlconfigFile` is included. If used, then this file + * is used to determine which registry each pack is downloaded from. */ - async packDownload(packs: string[]): Promise { + async packDownload( + packs: string[], + qlconfigFile: string | undefined + ): Promise { + const qlconfigArg = qlconfigFile + ? [`--qlconfig-file=${qlconfigFile}`] + : ([] as string[]); + const codeqlArgs = [ "pack", "download", + ...qlconfigArg, "--format=json", "--resolve-query-specs", ...getExtraOptionsFromEnv(["pack", "download"]), diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 7b67093e8e..9d522e3f5c 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -3,6 +3,7 @@ import * as path from "path"; import * as github from "@actions/github"; import test, { ExecutionContext } from "ava"; +import * as yaml from "js-yaml"; import * as sinon from "sinon"; import * as api from "./api-client"; @@ -21,6 +22,7 @@ const sampleApiDetails = { externalRepoAuth: "token", url: "https://github.example.com", apiURL: undefined, + registriesAuthTokens: undefined, }; const gitHubVersion = { type: util.GitHubVariant.DOTCOM } as util.GitHubVersion; @@ -2208,30 +2210,114 @@ test( /"a-pack-without-a-scope" is not a valid pack/ ); -test("downloadPacks", async (t) => { - const packDownloadStub = sinon.stub(); - packDownloadStub.callsFake((packs) => ({ - packs, - })); - const codeQL = setCodeQL({ - packDownload: packDownloadStub, +test("downloadPacks-no-registries", async (t) => { + return await util.withTmpDir(async (tmpDir) => { + const packDownloadStub = sinon.stub(); + packDownloadStub.callsFake((packs) => ({ + packs, + })); + const codeQL = setCodeQL({ + packDownload: packDownloadStub, + }); + const logger = getRunnerLogger(true); + + // packs are supplied for go, java, and python + // analyzed languages are java, javascript, and python + await configUtils.downloadPacks( + codeQL, + [Language.javascript, Language.java, Language.python], + { + java: ["a", "b"], + go: ["c", "d"], + python: ["e", "f"], + }, + undefined, + sampleApiDetails, + tmpDir, + logger + ); + + t.deepEqual(packDownloadStub.callCount, 2); + // no config file was created, so pass `undefined` as the config file path + t.deepEqual(packDownloadStub.firstCall.args, [["a", "b"], undefined]); + t.deepEqual(packDownloadStub.secondCall.args, [["e", "f"], undefined]); }); - const logger = getRunnerLogger(true); +}); - // packs are supplied for go, java, and python - // analyzed languages are java, javascript, and python - await configUtils.downloadPacks( - codeQL, - [Language.javascript, Language.java, Language.python], - { - java: ["a", "b"], - go: ["c", "d"], - python: ["e", "f"], - }, - logger - ); +test("downloadPacks-with-registries", async (t) => { + // same thing, but this time include a registries block and + // associated env vars + return await util.withTmpDir(async (tmpDir) => { + process.env.GITHUB_TOKEN = "not-a-token"; + process.env.CODEQL_REGISTRIES_AUTH = "not-a-registries-auth"; + const logger = getRunnerLogger(true); - t.deepEqual(packDownloadStub.callCount, 2); - t.deepEqual(packDownloadStub.firstCall.args, [["a", "b"]]); - t.deepEqual(packDownloadStub.secondCall.args, [["e", "f"]]); + const apiDetails = { + ...sampleApiDetails, + registriesAuthTokens: "registries-auth", + }; + const registries = [ + { + url: "http://ghcr.io", + packages: ["codeql/*", "dsp-testing/*"], + }, + { + url: "https://containers.GHEHOSTNAME1/v2/", + packages: "semmle/*", + }, + ]; + + const expectedConfigFile = path.join(tmpDir, "qlconfig.yml"); + const packDownloadStub = sinon.stub(); + packDownloadStub.callsFake((packs, configFile) => { + t.deepEqual(configFile, expectedConfigFile); + // verify the env vars were set correctly + t.deepEqual(process.env.GITHUB_TOKEN, "token"); + t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "registries-auth"); + + // verify the config file contents were set correctly + const config = yaml.load( + fs.readFileSync(configFile, "utf8") + ) as configUtils.UserConfig; + t.deepEqual(config.registries, registries); + return { + packs, + }; + }); + + const codeQL = setCodeQL({ + packDownload: packDownloadStub, + }); + + // packs are supplied for go, java, and python + // analyzed languages are java, javascript, and python + await configUtils.downloadPacks( + codeQL, + [Language.javascript, Language.java, Language.python], + { + java: ["a", "b"], + go: ["c", "d"], + python: ["e", "f"], + }, + registries, + apiDetails, + tmpDir, + logger + ); + + // Same packs are downloaded as in previous test + t.deepEqual(packDownloadStub.callCount, 2); + t.deepEqual(packDownloadStub.firstCall.args, [ + ["a", "b"], + expectedConfigFile, + ]); + t.deepEqual(packDownloadStub.secondCall.args, [ + ["e", "f"], + expectedConfigFile, + ]); + + // Verify that the env vars were unset. + t.deepEqual(process.env.GITHUB_TOKEN, "not-a-token"); + t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "not-a-registries-auth"); + }); }); diff --git a/src/config-utils.ts b/src/config-utils.ts index 8bceacd9b7..362c9c0e54 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -57,10 +57,24 @@ export interface UserConfig { // Set of query filters to include and exclude extra queries based on // codeql query suite `include` and `exclude` properties "query-filters"?: QueryFilter[]; + + // Set of external registries and which packs to retrieve from each + registries?: RegistryConfig[]; } export type QueryFilter = ExcludeQueryFilter | IncludeQueryFilter; +/** + * The list of registries and the associated pack globs that determine where each pack can be downloaded from. + */ +export interface RegistryConfig { + // URL of a package registry, eg- https://ghcr.io/v2/ + url: string; + + // List of globs that determine which packs are associated with this registry. + packages: string[] | string; +} + interface ExcludeQueryFilter { exclude: Record; } @@ -1686,7 +1700,15 @@ export async function initConfig( // happen in the CLI during the `database init` command, so no need // to download them here. if (!(await useCodeScanningConfigInCli(codeQL))) { - await downloadPacks(codeQL, config.languages, config.packs, logger); + await downloadPacks( + codeQL, + config.languages, + config.packs, + config.originalUserInput.registries, + apiDetails, + config.tempDir, + logger + ); } // Save the config so we can easily access it again in the future @@ -1795,30 +1817,79 @@ export async function downloadPacks( codeQL: CodeQL, languages: Language[], packs: Packs, + registries: RegistryConfig[] | undefined, + apiDetails: api.GitHubApiDetails, + tmpDir: string, logger: Logger ) { - let numPacksDownloaded = 0; - logger.startGroup("Downloading packs"); - for (const language of languages) { - const packsWithVersion = packs[language]; - if (packsWithVersion?.length) { - logger.info(`Downloading custom packs for ${language}`); - const results = await codeQL.packDownload(packsWithVersion); - numPacksDownloaded += results.packs.length; - logger.info( - `Downloaded packs: ${results.packs - .map((r) => `${r.name}@${r.version || "latest"}`) - .join(", ")}` - ); + let qlconfigFile: string | undefined; + if (registries) { + // generate a qlconfig.yml file to hold the registry configs. + const qlconfig = { + registries, + }; + qlconfigFile = path.join(tmpDir, "qlconfig.yml"); + fs.writeFileSync(qlconfigFile, yaml.dump(qlconfig), "utf8"); + } + + await wrapEnvironment( + { + GITHUB_TOKEN: apiDetails.auth, + CODEQL_REGISTRIES_AUTH: apiDetails.registriesAuthTokens, + }, + async () => { + let numPacksDownloaded = 0; + logger.startGroup("Downloading packs"); + for (const language of languages) { + const packsWithVersion = packs[language]; + if (packsWithVersion?.length) { + logger.info(`Downloading custom packs for ${language}`); + const results = await codeQL.packDownload( + packsWithVersion, + qlconfigFile + ); + numPacksDownloaded += results.packs.length; + logger.info( + `Downloaded: ${results.packs + .map((r) => `${r.name}@${r.version || "latest"}`) + .join(", ")}` + ); + } + } + if (numPacksDownloaded > 0) { + logger.info( + `Downloaded ${numPacksDownloaded} ${packs === 1 ? "pack" : "packs"}` + ); + } else { + logger.info("No packs to download"); + } + logger.endGroup(); + } + ); +} + +async function wrapEnvironment( + env: Record, + operation: Function +) { + // Remember the original env + const oldEnv = { ...process.env }; + + // Set the new env + for (const [key, value] of Object.entries(env)) { + // Ignore undefined keys + if (value !== undefined) { + process.env[key] = value; } } - if (numPacksDownloaded > 0) { - logger.info( - `Downloaded ${numPacksDownloaded} ${packs === 1 ? "pack" : "packs"}` - ); - } else { - logger.info("No packs to download"); + try { + // Run the operation + await operation(); + } finally { + // Restore the old env + for (const [key, value] of Object.entries(oldEnv)) { + process.env[key] = value; + } } - logger.endGroup(); } diff --git a/src/database-upload.test.ts b/src/database-upload.test.ts index f19dd8d083..9a46a21cf9 100644 --- a/src/database-upload.test.ts +++ b/src/database-upload.test.ts @@ -39,6 +39,7 @@ const testApiDetails: GitHubApiDetails = { auth: "1234", url: "https://github.com", apiURL: undefined, + registriesAuthTokens: undefined, }; function getTestConfig(tmpDir: string): Config { diff --git a/src/feature-flags.test.ts b/src/feature-flags.test.ts index 8c14edd4fe..23ed4d1336 100644 --- a/src/feature-flags.test.ts +++ b/src/feature-flags.test.ts @@ -24,6 +24,7 @@ const testApiDetails: GitHubApiDetails = { auth: "1234", url: "https://github.com", apiURL: undefined, + registriesAuthTokens: undefined, }; const testRepositoryNwo = parseRepositoryNwo("github/example"); diff --git a/src/init-action.ts b/src/init-action.ts index 7fd2283df1..462471f068 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -148,6 +148,7 @@ async function run() { externalRepoAuth: getOptionalInput("external-repository-token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: getRequiredEnvParam("GITHUB_API_URL"), + registriesAuthTokens: getOptionalInput("registries-auth-tokens"), }; const gitHubVersion = await getGitHubVersionActionsOnly(); diff --git a/src/runner.ts b/src/runner.ts index 5a1481ad40..fbd9a39694 100644 --- a/src/runner.ts +++ b/src/runner.ts @@ -203,6 +203,7 @@ program externalRepoAuth: auth, url: parseGitHubUrl(cmd.githubUrl), apiURL: undefined, + registriesAuthTokens: undefined, }; const gitHubVersion = await getGitHubVersion(apiDetails); @@ -479,6 +480,7 @@ program auth, url: parseGitHubUrl(cmd.githubUrl), apiURL: undefined, + registriesAuthTokens: undefined, }; const outputDir = @@ -592,6 +594,7 @@ program auth, url: parseGitHubUrl(cmd.githubUrl), apiURL: undefined, + registriesAuthTokens: undefined, }; try { const gitHubVersion = await getGitHubVersion(apiDetails); diff --git a/src/upload-sarif-action.ts b/src/upload-sarif-action.ts index 6ce7a69028..bee22c2e4e 100644 --- a/src/upload-sarif-action.ts +++ b/src/upload-sarif-action.ts @@ -57,6 +57,7 @@ async function run() { auth: actionsUtil.getRequiredInput("token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: getRequiredEnvParam("GITHUB_API_URL"), + registriesAuthTokens: undefined, }; const gitHubVersion = await getGitHubVersionActionsOnly(); diff --git a/src/util.test.ts b/src/util.test.ts index 243da4eb88..56b5145b82 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -209,6 +209,7 @@ test("getGitHubVersion", async (t) => { auth: "", url: "https://github.com", apiURL: undefined, + registriesAuthTokens: undefined, }); t.deepEqual(util.GitHubVariant.DOTCOM, v.type); @@ -217,6 +218,7 @@ test("getGitHubVersion", async (t) => { auth: "", url: "https://ghe.example.com", apiURL: undefined, + registriesAuthTokens: undefined, }); t.deepEqual( { type: util.GitHubVariant.GHES, version: "2.0" } as util.GitHubVersion, @@ -228,6 +230,7 @@ test("getGitHubVersion", async (t) => { auth: "", url: "https://example.githubenterprise.com", apiURL: undefined, + registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHAE }, ghae); @@ -236,6 +239,7 @@ test("getGitHubVersion", async (t) => { auth: "", url: "https://ghe.example.com", apiURL: undefined, + registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.DOTCOM }, v3); }); From 1d921181460d47d39fce41644c3c36627700f1b6 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 29 Aug 2022 18:19:08 -0700 Subject: [PATCH 03/44] Add integration test for using `registries-auth-tokens` --- .github/workflows/__init-with-registries.yml | 93 +++++++++++++++++++ pr-checks/checks/init-with-registries.yml | 40 ++++++++ .../codeql/codeql-config-registries.yml | 12 +++ 3 files changed, 145 insertions(+) create mode 100644 .github/workflows/__init-with-registries.yml create mode 100644 pr-checks/checks/init-with-registries.yml create mode 100644 tests/multi-language-repo/.github/codeql/codeql-config-registries.yml diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml new file mode 100644 index 0000000000..517764328b --- /dev/null +++ b/.github/workflows/__init-with-registries.yml @@ -0,0 +1,93 @@ +# Warning: This file is generated automatically, and should not be modified. +# Instead, please modify the template in the pr-checks directory and run: +# pip install ruamel.yaml && python3 sync.py +# to regenerate this file. + +name: 'PR Check - Packaging: Download using registries' +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GO111MODULE: auto +on: + push: + branches: + - main + - releases/v1 + - releases/v2 + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + workflow_dispatch: {} +jobs: + init-with-registries: + strategy: + matrix: + include: + - os: ubuntu-latest + version: latest + - os: macos-latest + version: latest + - os: windows-2019 + version: latest + - os: windows-2022 + version: latest + - os: ubuntu-latest + version: cached + - os: macos-latest + version: cached + - os: windows-2019 + version: cached + - os: ubuntu-latest + version: nightly-latest + - os: macos-latest + version: nightly-latest + - os: windows-2019 + version: nightly-latest + - os: windows-2022 + version: nightly-latest + name: 'Packaging: Download using registries' + timeout-minutes: 45 + runs-on: ${{ matrix.os }} + steps: + - name: Check out repository + uses: actions/checkout@v3 + - name: Prepare test + id: prepare-test + uses: ./.github/prepare-test + with: + version: ${{ matrix.version }} + - name: Init with registries-auth-tokens + uses: ./../action/init + with: + db-location: ${{ runner.temp }}/customDbLocation + tools: ${{ steps.prepare-test.outputs.tools-url }} + config-file: ./.github/codeql/codeql-config-registries.yml + languages: javascript + registries-auth-tokens: https://ghcr.io/v2/=${{ secrets.GITHUB_TOKEN }} + env: + TEST_MODE: true + - name: Verify packages installed + shell: bash + run: | + PRIVATE_PACK="$HOME/.codeql/packages/dsp-testing/private-pack" + CODEQL_PACK1="$HOME/.codeql/packages/dsp-testing/codeql-pack1" + + if [[ -d $PRIVATE_PACK ]] + then + echo "$PRIVATE_PACK was installed." + else + echo "::error $PRIVATE_PACK pack was not installed." + exit 1 + fi + + if [[ -d $CODEQL_PACK1 ]] + then + echo "$CODEQL_PACK1 was installed." + else + echo "::error $CODEQL_PACK1 pack was not installed." + exit 1 + fi + env: + INTERNAL_CODEQL_ACTION_DEBUG_LOC: true diff --git a/pr-checks/checks/init-with-registries.yml b/pr-checks/checks/init-with-registries.yml new file mode 100644 index 0000000000..e1e7c00fe0 --- /dev/null +++ b/pr-checks/checks/init-with-registries.yml @@ -0,0 +1,40 @@ +# A test for running the init command with a registries block. +# This test does _not_ validate that the action can authenticate +# against multiple registries. All it does is validate that the +# basic mechanics of multi-registry auth is working. +name: "Packaging: Download using registries" +description: "Checks that specifying a registries block and associated auth works as expected" +versions: ["latest", "cached", "nightly-latest"] # This feature is not compatible with old CLIs + +steps: + - name: Init with registries-auth-tokens + uses: ./../action/init + with: + db-location: "${{ runner.temp }}/customDbLocation" + tools: ${{ steps.prepare-test.outputs.tools-url }} + config-file: ./.github/codeql/codeql-config-registries.yml + languages: javascript + registries-auth-tokens: https://ghcr.io/v2/=${{ secrets.GITHUB_TOKEN }} + env: + TEST_MODE: true + - name: Verify packages installed + shell: bash + run: | + PRIVATE_PACK="$HOME/.codeql/packages/dsp-testing/private-pack" + CODEQL_PACK1="$HOME/.codeql/packages/dsp-testing/codeql-pack1" + + if [[ -d $PRIVATE_PACK ]] + then + echo "$PRIVATE_PACK was installed." + else + echo "::error $PRIVATE_PACK pack was not installed." + exit 1 + fi + + if [[ -d $CODEQL_PACK1 ]] + then + echo "$CODEQL_PACK1 was installed." + else + echo "::error $CODEQL_PACK1 pack was not installed." + exit 1 + fi diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml b/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml new file mode 100644 index 0000000000..dba07b9edc --- /dev/null +++ b/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml @@ -0,0 +1,12 @@ +name: Pack testing in the CodeQL Action + +disable-default-queries: true +packs: + javascript: + - dsp-testing/private-pack + - dsp-testing/codeql-pack1 + +registries: + # enforce using the registries block for all packs + - url: https://ghcr.io/v2/ + packages: "*" From 215c3cb4bb29c38d204d42367fef2c0972ce9eba Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 26 Aug 2022 15:06:09 -0700 Subject: [PATCH 04/44] Autobuild Go in analyze step --- lib/analyze-action.js | 22 ++++++++++++++++++++++ lib/analyze-action.js.map | 2 +- lib/autobuild-action.js | 4 ++++ lib/autobuild-action.js.map | 2 +- lib/feature-flags.js | 1 + lib/feature-flags.js.map | 2 +- src/analyze-action.ts | 34 +++++++++++++++++++++++++++++++++- src/autobuild-action.ts | 3 +++ src/feature-flags.ts | 1 + 9 files changed, 67 insertions(+), 4 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 9d06ffbade..6fdc5ba925 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -21,15 +21,18 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); exports.runPromise = exports.sendStatusReport = void 0; // We need to import `performance` on Node 12 +const fs = __importStar(require("fs")); const perf_hooks_1 = require("perf_hooks"); const core = __importStar(require("@actions/core")); const actionsUtil = __importStar(require("./actions-util")); const analyze_1 = require("./analyze"); const api_client_1 = require("./api-client"); +const autobuild_1 = require("./autobuild"); const codeql_1 = require("./codeql"); const config_utils_1 = require("./config-utils"); const database_upload_1 = require("./database-upload"); const feature_flags_1 = require("./feature-flags"); +const languages_1 = require("./languages"); const logging_1 = require("./logging"); const repository_1 = require("./repository"); const trap_caching_1 = require("./trap-caching"); @@ -68,6 +71,17 @@ function hasBadExpectErrorInput() { return (actionsUtil.getOptionalInput("expect-error") !== "false" && !util.isInTestMode()); } +// Check for any .trap[.gz] files under the db-go/ folder +function didGolangExtraction(config) { + const golangDbDirectory = util.getCodeQLDatabasePath(config, languages_1.Language.go); + const extractedFiles = fs + .readdirSync(golangDbDirectory) + .filter((fileName) => fileName.endsWith(".trap") || fileName.endsWith(".trap.gz")); + if (extractedFiles.length !== 0) { + return true; + } + return false; +} async function run() { const startedAt = new Date(); let uploadResult = undefined; @@ -102,6 +116,14 @@ async function run() { const repositoryNwo = (0, repository_1.parseRepositoryNwo)(util.getRequiredEnvParam("GITHUB_REPOSITORY")); const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); const featureFlags = new feature_flags_1.GitHubFeatureFlags(gitHubVersion, apiDetails, repositoryNwo, logger); + if (await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled)) { + // Run autobuilder for Go, unless it's already been run or user built manually + if (languages_1.Language.go in config.languages && + process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && + !didGolangExtraction(config)) { + await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger); + } + } dbCreationTimings = await (0, analyze_1.runFinalize)(outputDir, threads, memory, config, logger, featureFlags); if (actionsUtil.getRequiredInput("skip-queries") !== "true") { runStats = await (0, analyze_1.runQueries)(outputDir, memory, util.getAddSnippetsFlag(actionsUtil.getRequiredInput("add-snippets")), threads, actionsUtil.getOptionalInput("category"), config, logger); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 96b28763bd..6e050be697 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4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ACL,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;aAAM;YACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;QAED,OAAO;KACR;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,uCAAyB;AACzB,2CAAyC;AAEzC,oD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EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/autobuild-action.js b/lib/autobuild-action.js index c991e73f92..2ab3bde8c1 100644 --- a/lib/autobuild-action.js +++ b/lib/autobuild-action.js @@ -23,6 +23,7 @@ const core = __importStar(require("@actions/core")); const actions_util_1 = require("./actions-util"); const autobuild_1 = require("./autobuild"); const config_utils = __importStar(require("./config-utils")); +const languages_1 = require("./languages"); const logging_1 = require("./logging"); const util_1 = require("./util"); // eslint-disable-next-line import/no-commonjs @@ -59,6 +60,9 @@ async function run() { process.chdir(workingDirectory); } await (0, autobuild_1.runAutobuild)(language, config, logger); + if (language === languages_1.Language.go) { + core.exportVariable("CODEQL_ACTION_DID_AUTOBUILD_GOLANG", "true"); + } } } catch (error) { diff --git a/lib/autobuild-action.js.map b/lib/autobuild-action.js.map index 9cd2d601fe..c6041fd031 100644 --- a/lib/autobuild-action.js.map +++ b/lib/autobuild-action.js.map @@ -1 +1 @@ -{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAOwB;AACxB,2CAAuE;AACvE,6DAA+C;AAE/C,uCAA6C;AAC7C,iCAAyE;AAEzE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AASvC,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,YAAsB,EACtB,eAAwB,EACxB,KAAa;IAEb,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,IAAA,+BAAgB,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACxD,MAAM,gBAAgB,GAAG,MAAM,IAAA,qCAAsB,EACnD,WAAW,EACX,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAA0B;QAC1C,GAAG,gBAAgB;QACnB,mBAAmB,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;QAC3C,iBAAiB,EAAE,eAAe;KACnC,CAAC;IACF,MAAM,IAAA,+BAAgB,EAAC,YAAY,CAAC,CAAC;AACvC,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,IAAA,yBAAkB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtC,IAAI,QAAQ,GAAyB,SAAS,CAAC;IAC/C,IAAI;QACF,IACE,CAAC,CAAC,MAAM,IAAA,+BAAgB,EACtB,MAAM,IAAA,qCAAsB,EAAC,WAAW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AC,CAAC,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,4BAA4B,KAAK,EAAE,CAAC,CAAC;QACpD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAOwB;AACxB,2CAAuE;AACvE,6DAA+C;AAC/C,2CAAuC;AACvC,uCAA6C;AAC7C,iCAAyE;AAEzE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AASvC,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,YAAsB,EACtB,eAAwB,EACxB,KAAa;IAEb,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,IAAA,+BAAgB,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACxD,MAAM,gBAAgB,GAAG,MAAM,IAAA,qCAAsB,EACnD,WAAW,EACX,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAA0B;QAC1C,GAAG,gBAAgB;QACnB,mBAAmB,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;QAC3C,iBAAiB,EAAE,eAAe;KACnC,CAAC;IACF,MAAM,IAAA,+BAAgB,EAAC,YAAY,CAAC,CAAC;AACvC,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SA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QACF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,yBAAyB,CAC7B,SAAS,EACT,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAC1B,QAAQ,EACR,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC1D,CAAC;QACF,OAAO;KACR;IAED,MAAM,yBAAyB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,4BAA4B,KAAK,EAAE,CAAC,CAAC;QACpD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.js b/lib/feature-flags.js index ad4d220e08..9e33c0c0ce 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -28,6 +28,7 @@ var FeatureFlag; FeatureFlag["LuaTracerConfigEnabled"] = "lua_tracer_config_enabled"; FeatureFlag["MlPoweredQueriesEnabled"] = "ml_powered_queries_enabled"; FeatureFlag["TrapCachingEnabled"] = "trap_caching_enabled"; + FeatureFlag["GolangExtractionReconciliationEnabled"] = "golang_extraction_reconciliation_enabled"; })(FeatureFlag = exports.FeatureFlag || (exports.FeatureFlag = {})); class GitHubFeatureFlags { constructor(gitHubVersion, apiDetails, repositoryNwo, logger) { diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index c71a47d4e1..2e72db189f 100644 --- a/lib/feature-flags.js.map +++ b/lib/feature-flags.js.map @@ -1 +1 @@ -{"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F,CAAC;AACJ,CAAC;AAND,gDAMC"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA8D;AAG9D,6CAA+B;AAM/B,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,kEAAmD,CAAA;IACnD,mEAAoD,CAAA;IACpD,qEAAsD,CAAA;IACtD,0DAA2C,CAAA;IAC3C,iGAAkF,CAAA;AACpF,CAAC,EANW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAMtB;AAUD,MAAa,kBAAkB;IAG7B,YACU,aAAiC,EACjC,UAA4B,EAC5B,aAA4B,EAC5B,MAAc;QAHd,kBAAa,GAAb,aAAa,CAAoB;QACjC,eAAU,GAAV,UAAU,CAAkB;QAC5B,kBAAa,GAAb,aAAa,CAAe;QAC5B,WAAM,GAAN,MAAM,CAAQ;IACrB,CAAC;IAEJ,KAAK,CAAC,QAAQ,CAAC,IAAiB;QAC9B,oDAAoD;QACpD,IAAI,IAAI,KAAK,WAAW,CAAC,sBAAsB,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE;YACtE,OAAO,KAAK,CAAC;SACd;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAC7C,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,qCAAqC,IAAI,4BAA4B,CACtE,CAAC;YACF,OAAO,KAAK,CAAC;SACd;QACD,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,SAAS,KAAK,SAAS,EAAE;YAC3B,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,iBAAiB,IAAI,uDAAuD,CAC7E,CAAC;YACF,OAAO,KAAK,CAAC;SACd;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAEO,KAAK,CAAC,cAAc;QAC1B,MAAM,eAAe,GAAG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ACvB,OAAO,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACrC,CAAC;KACF,CAAC;AACJ,CAAC;AAND,gDAMC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 74d71b6df4..752168e700 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -1,4 +1,5 @@ // We need to import `performance` on Node 12 +import * as fs from "fs"; import { performance } from "perf_hooks"; import * as core from "@actions/core"; @@ -13,10 +14,12 @@ import { runQueries, } from "./analyze"; import { getGitHubVersionActionsOnly } from "./api-client"; +import { runAutobuild } from "./autobuild"; import { getCodeQL } from "./codeql"; import { Config, getConfig } from "./config-utils"; import { uploadDatabases } from "./database-upload"; -import { GitHubFeatureFlags } from "./feature-flags"; +import { FeatureFlag, GitHubFeatureFlags } from "./feature-flags"; +import { Language } from "./languages"; import { getActionsLogger, Logger } from "./logging"; import { parseRepositoryNwo } from "./repository"; import { getTotalCacheSize, uploadTrapCaches } from "./trap-caching"; @@ -97,6 +100,20 @@ function hasBadExpectErrorInput(): boolean { ); } +// Check for any .trap[.gz] files under the db-go/ folder +function didGolangExtraction(config: Config): boolean { + const golangDbDirectory = util.getCodeQLDatabasePath(config, Language.go); + const extractedFiles = fs + .readdirSync(golangDbDirectory) + .filter( + (fileName) => fileName.endsWith(".trap") || fileName.endsWith(".trap.gz") + ); + if (extractedFiles.length !== 0) { + return true; + } + return false; +} + async function run() { const startedAt = new Date(); let uploadResult: UploadResult | undefined = undefined; @@ -166,6 +183,21 @@ async function run() { logger ); + if ( + await featureFlags.getValue( + FeatureFlag.GolangExtractionReconciliationEnabled + ) + ) { + // Run autobuilder for Go, unless it's already been run or user built manually + if ( + Language.go in config.languages && + process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && + !didGolangExtraction(config) + ) { + await runAutobuild(Language.go, config, logger); + } + } + dbCreationTimings = await runFinalize( outputDir, threads, diff --git a/src/autobuild-action.ts b/src/autobuild-action.ts index be216b64e4..5f7b2ec61f 100644 --- a/src/autobuild-action.ts +++ b/src/autobuild-action.ts @@ -81,6 +81,9 @@ async function run() { process.chdir(workingDirectory); } await runAutobuild(language, config, logger); + if (language === Language.go) { + core.exportVariable("CODEQL_ACTION_DID_AUTOBUILD_GOLANG", "true"); + } } } catch (error) { core.setFailed( diff --git a/src/feature-flags.ts b/src/feature-flags.ts index e220c585ae..0d7359d25b 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -12,6 +12,7 @@ export enum FeatureFlag { LuaTracerConfigEnabled = "lua_tracer_config_enabled", MlPoweredQueriesEnabled = "ml_powered_queries_enabled", TrapCachingEnabled = "trap_caching_enabled", + GolangExtractionReconciliationEnabled = "golang_extraction_reconciliation_enabled", } /** From 8dc468564f95a5c5ae34fd0a433c7bb87e1bc9e8 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 30 Aug 2022 17:57:12 +0100 Subject: [PATCH 05/44] Use a more explicit name for checking Go extraction output --- lib/analyze-action.js | 9 ++++++--- lib/analyze-action.js.map | 2 +- src/analyze-action.ts | 9 ++++++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 6fdc5ba925..c32574093e 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -71,8 +71,11 @@ function hasBadExpectErrorInput() { return (actionsUtil.getOptionalInput("expect-error") !== "false" && !util.isInTestMode()); } -// Check for any .trap[.gz] files under the db-go/ folder -function didGolangExtraction(config) { +/** + * Returns whether any `.trap[.gz]` files exist under the `db-go` folder, + * indicating whether Go extraction has extracted at least one file. + */ +function doesGoExtractionOutputExist(config) { const golangDbDirectory = util.getCodeQLDatabasePath(config, languages_1.Language.go); const extractedFiles = fs .readdirSync(golangDbDirectory) @@ -120,7 +123,7 @@ async function run() { // Run autobuilder for Go, unless it's already been run or user built manually if (languages_1.Language.go in config.languages && process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && - !didGolangExtraction(config)) { + !doesGoExtractionOutputExist(config)) { await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger); } } diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 6e050be697..e9fbd58abd 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,uCAAyB;AACzB,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAkE;AAClE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CAAC,CAAC;gBACE,6BAA6B,EAC3B,IAAI,CAAC,2BAA2B,CAAC,MAAM,CAAC;aAC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BAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;aAAM;YACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;QAED,OAAO;KACR;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,uCAAyB;AACzB,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,u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AAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 752168e700..b6fee3e830 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -100,8 +100,11 @@ function hasBadExpectErrorInput(): boolean { ); } -// Check for any .trap[.gz] files under the db-go/ folder -function didGolangExtraction(config: Config): boolean { +/** + * Returns whether any `.trap[.gz]` files exist under the `db-go` folder, + * indicating whether Go extraction has extracted at least one file. + */ +function doesGoExtractionOutputExist(config: Config): boolean { const golangDbDirectory = util.getCodeQLDatabasePath(config, Language.go); const extractedFiles = fs .readdirSync(golangDbDirectory) @@ -192,7 +195,7 @@ async function run() { if ( Language.go in config.languages && process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && - !didGolangExtraction(config) + !doesGoExtractionOutputExist(config) ) { await runAutobuild(Language.go, config, logger); } From fff56ee004ad74cb727c16caaed9018ff0332b07 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 30 Aug 2022 18:05:09 +0100 Subject: [PATCH 06/44] Add environment variable for enabling Go extraction reconcilation This will enable us to test this behavior in PR checks. Also simplify and add some more detailed documentation. --- lib/analyze-action.js | 29 ++++++++++++++++++++++------- lib/analyze-action.js.map | 2 +- src/analyze-action.ts | 34 +++++++++++++++++++++++----------- 3 files changed, 46 insertions(+), 19 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index c32574093e..82ee9b376d 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -119,13 +119,28 @@ async function run() { const repositoryNwo = (0, repository_1.parseRepositoryNwo)(util.getRequiredEnvParam("GITHUB_REPOSITORY")); const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); const featureFlags = new feature_flags_1.GitHubFeatureFlags(gitHubVersion, apiDetails, repositoryNwo, logger); - if (await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled)) { - // Run autobuilder for Go, unless it's already been run or user built manually - if (languages_1.Language.go in config.languages && - process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && - !doesGoExtractionOutputExist(config)) { - await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger); - } + // When Go extraction reconciliation is enabled, either via the feature flag + // or an environment variable, we will attempt to autobuild Go to preserve + // compatibility for users who have set up Go using a legacy scanning style + // CodeQL workflow, i.e. one without an autobuild step or manual build + // steps. + // + // - We detect whether an autobuild step is present by checking the + // `CODEQL_ACTION_DID_AUTOBUILD_GOLANG` environment variable, which is set + // when the autobuilder is invoked. + // - We approximate whether manual build steps are present by looking at + // whether any extraction output already exists for Go. + if ( + // Only proceed if the beta Go extraction reconciliation behavior is + // enabled. + (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] === "true" || + (await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled))) && + languages_1.Language.go in config.languages && + // This captures whether the autobuilder has already been invoked + process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && + // This captures whether a user has added manual build steps for Go + !doesGoExtractionOutputExist(config)) { + await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger); } dbCreationTimings = await (0, analyze_1.runFinalize)(outputDir, threads, memory, config, logger, featureFlags); if (actionsUtil.getRequiredInput("skip-queries") !== "true") { diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index e9fbd58abd..af1377bc40 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,uCAAyB;AACzB,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAkE;AAClE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC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AAM,KAAK,GAAG,EAAE,GAAG,KAAK,CAAC,mBAAmB,EAAE,CAAC;YAC/C,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,KAAK,EACL,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;aAAM;YACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;QAED,OAAO;KACR;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRo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EACL,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;aAAM;YACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;QAED,OAAO;KACR;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index b6fee3e830..5464ec4b92 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -186,19 +186,31 @@ async function run() { logger ); + // When Go extraction reconciliation is enabled, either via the feature flag + // or an environment variable, we will attempt to autobuild Go to preserve + // compatibility for users who have set up Go using a legacy scanning style + // CodeQL workflow, i.e. one without an autobuild step or manual build + // steps. + // + // - We detect whether an autobuild step is present by checking the + // `CODEQL_ACTION_DID_AUTOBUILD_GOLANG` environment variable, which is set + // when the autobuilder is invoked. + // - We approximate whether manual build steps are present by looking at + // whether any extraction output already exists for Go. if ( - await featureFlags.getValue( - FeatureFlag.GolangExtractionReconciliationEnabled - ) + // Only proceed if the beta Go extraction reconciliation behavior is + // enabled. + (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] === "true" || + (await featureFlags.getValue( + FeatureFlag.GolangExtractionReconciliationEnabled + ))) && + Language.go in config.languages && + // This captures whether the autobuilder has already been invoked + process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && + // This captures whether a user has added manual build steps for Go + !doesGoExtractionOutputExist(config) ) { - // Run autobuilder for Go, unless it's already been run or user built manually - if ( - Language.go in config.languages && - process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && - !doesGoExtractionOutputExist(config) - ) { - await runAutobuild(Language.go, config, logger); - } + await runAutobuild(Language.go, config, logger); } dbCreationTimings = await runFinalize( From e466e758751bb2b26e0dee9b3432dc3ea9b478f0 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 30 Aug 2022 18:06:25 +0100 Subject: [PATCH 07/44] Simplify `doesGoExtractionOutputExist` implementation Co-authored-by: Andrew Eisenberg --- lib/analyze-action.js | 8 ++------ lib/analyze-action.js.map | 2 +- src/analyze-action.ts | 20 ++++++++------------ 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 82ee9b376d..447c242eb6 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -77,13 +77,9 @@ function hasBadExpectErrorInput() { */ function doesGoExtractionOutputExist(config) { const golangDbDirectory = util.getCodeQLDatabasePath(config, languages_1.Language.go); - const extractedFiles = fs + return fs .readdirSync(golangDbDirectory) - .filter((fileName) => fileName.endsWith(".trap") || fileName.endsWith(".trap.gz")); - if (extractedFiles.length !== 0) { - return true; - } - return false; + .some((fileName) => fileName.endsWith(".trap") || fileName.endsWith(".trap.gz")); } async function run() { const startedAt = new Date(); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index af1377bc40..b0d6116c07 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,uCAAyB;AACzB,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAkE;AAClE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAA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K,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,uCAAyB;AACzB,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAkE;AAClE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CAAC,CAAC;gBACA,6BAA6B,EAC3B,IAAI,CAAC,2BAA2B,CAAC,MAAM,CAAC;aAC3C;YACD,CAAC,CAAC,E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G,KAAK,CAAC,mBAAmB,EAAE,CAAC;YAC/C,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,KAAK,EACL,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;aAAM;YACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;QAED,OAAO;KACR;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 5464ec4b92..d4307b16f8 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -32,12 +32,12 @@ const pkg = require("../package.json"); interface AnalysisStatusReport extends upload_lib.UploadStatusReport, - QueriesStatusReport {} + QueriesStatusReport { } interface FinishStatusReport extends actionsUtil.StatusReportBase, - actionsUtil.DatabaseCreationTimings, - AnalysisStatusReport {} + actionsUtil.DatabaseCreationTimings, + AnalysisStatusReport { } interface FinishWithTrapUploadStatusReport extends FinishStatusReport { /** Size of TRAP caches that we uploaded, in bytes. */ @@ -71,9 +71,9 @@ export async function sendStatusReport( ...statusReportBase, ...(config ? { - ml_powered_javascript_queries: - util.getMlPoweredJsQueriesStatus(config), - } + ml_powered_javascript_queries: + util.getMlPoweredJsQueriesStatus(config), + } : {}), ...(stats || {}), ...(dbCreationTimings || {}), @@ -106,15 +106,11 @@ function hasBadExpectErrorInput(): boolean { */ function doesGoExtractionOutputExist(config: Config): boolean { const golangDbDirectory = util.getCodeQLDatabasePath(config, Language.go); - const extractedFiles = fs + return fs .readdirSync(golangDbDirectory) - .filter( + .some( (fileName) => fileName.endsWith(".trap") || fileName.endsWith(".trap.gz") ); - if (extractedFiles.length !== 0) { - return true; - } - return false; } async function run() { From 5b4b44c9d65b0296be28f54af335df39ae65968b Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 30 Aug 2022 19:39:21 +0100 Subject: [PATCH 08/44] Add PR check for reconciled tracing with legacy workflow --- ..._go-reconciled-tracing-legacy-workflow.yml | 88 +++++++++++++++++++ .../go-reconciled-tracing-legacy-workflow.yml | 29 ++++++ 2 files changed, 117 insertions(+) create mode 100644 .github/workflows/__go-reconciled-tracing-legacy-workflow.yml create mode 100644 pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml diff --git a/.github/workflows/__go-reconciled-tracing-legacy-workflow.yml b/.github/workflows/__go-reconciled-tracing-legacy-workflow.yml new file mode 100644 index 0000000000..df7826ec18 --- /dev/null +++ b/.github/workflows/__go-reconciled-tracing-legacy-workflow.yml @@ -0,0 +1,88 @@ +# Warning: This file is generated automatically, and should not be modified. +# Instead, please modify the template in the pr-checks directory and run: +# pip install ruamel.yaml && python3 sync.py +# to regenerate this file. + +name: 'PR Check - Go: Reconciled tracing with legacy workflow' +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GO111MODULE: auto +on: + push: + branches: + - main + - releases/v1 + - releases/v2 + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + workflow_dispatch: {} +jobs: + go-reconciled-tracing-legacy-workflow: + strategy: + matrix: + include: + - os: ubuntu-latest + version: stable-20210308 + - os: macos-latest + version: stable-20210308 + - os: ubuntu-latest + version: stable-20210319 + - os: macos-latest + version: stable-20210319 + - os: ubuntu-latest + version: stable-20210809 + - os: macos-latest + version: stable-20210809 + - os: ubuntu-latest + version: cached + - os: macos-latest + version: cached + - os: ubuntu-latest + version: latest + - os: macos-latest + version: latest + - os: ubuntu-latest + version: nightly-latest + - os: macos-latest + version: nightly-latest + name: 'Go: Reconciled tracing with legacy workflow' + timeout-minutes: 45 + runs-on: ${{ matrix.os }} + steps: + - name: Check out repository + uses: actions/checkout@v3 + - name: Prepare test + id: prepare-test + uses: ./.github/prepare-test + with: + version: ${{ matrix.version }} + - uses: actions/setup-go@v3 + with: + go-version: ^1.13.1 + - uses: ./../action/init + with: + languages: go + tools: ${{ steps.prepare-test.outputs.tools-url }} + env: + TEST_MODE: true + - uses: ./../action/analyze + env: + TEST_MODE: true + - shell: bash + run: | + cd "$RUNNER_TEMP/codeql_databases" + if [[ ! -d go ]]; then + echo "Did not find a Go database" + exit 1 + fi + env: + # Enable reconciled Go tracing beta functionality + CODEQL_ACTION_RECONCILE_GO_EXTRACTION: 'true' + # Remove this once we start injecting the Go tracer in the init step. + CODEQL_EXTRACTOR_GO_BUILD_TRACING: on + DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false' + INTERNAL_CODEQL_ACTION_DEBUG_LOC: true diff --git a/pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml b/pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml new file mode 100644 index 0000000000..d61a437c29 --- /dev/null +++ b/pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml @@ -0,0 +1,29 @@ +name: "Go: Reconciled tracing with legacy workflow" +description: "Checks that we run the autobuilder in legacy workflows with neither an autobuild step nor manual build steps" +os: ["ubuntu-latest", "macos-latest"] +env: + # Enable reconciled Go tracing beta functionality + CODEQL_ACTION_RECONCILE_GO_EXTRACTION: "true" + # Remove this once we start injecting the Go tracer in the init step. + CODEQL_EXTRACTOR_GO_BUILD_TRACING: "on" + DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" +steps: + - uses: actions/setup-go@v3 + with: + go-version: "^1.13.1" + - uses: ./../action/init + with: + languages: go + tools: ${{ steps.prepare-test.outputs.tools-url }} + env: + TEST_MODE: true + - uses: ./../action/analyze + env: + TEST_MODE: true + - shell: bash + run: | + cd "$RUNNER_TEMP/codeql_databases" + if [[ ! -d go ]]; then + echo "Did not find a Go database" + exit 1 + fi From b42a495e8a001c2a8a134241d2da825aa3b3fded Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 31 Aug 2022 11:51:08 +0100 Subject: [PATCH 09/44] Fix TRAP directory location --- lib/analyze-action.js | 20 ++++++++++++++++---- lib/analyze-action.js.map | 2 +- src/analyze-action.ts | 31 ++++++++++++++++++++----------- 3 files changed, 37 insertions(+), 16 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 447c242eb6..1ab409990c 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -18,10 +18,14 @@ var __importStar = (this && this.__importStar) || function (mod) { __setModuleDefault(result, mod); return result; }; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.runPromise = exports.sendStatusReport = void 0; -// We need to import `performance` on Node 12 const fs = __importStar(require("fs")); +const path_1 = __importDefault(require("path")); +// We need to import `performance` on Node 12 const perf_hooks_1 = require("perf_hooks"); const core = __importStar(require("@actions/core")); const actionsUtil = __importStar(require("./actions-util")); @@ -72,14 +76,22 @@ function hasBadExpectErrorInput() { !util.isInTestMode()); } /** - * Returns whether any `.trap[.gz]` files exist under the `db-go` folder, + * Returns whether any TRAP files exist under the `db-go` folder, * indicating whether Go extraction has extracted at least one file. */ function doesGoExtractionOutputExist(config) { const golangDbDirectory = util.getCodeQLDatabasePath(config, languages_1.Language.go); + const trapDirectory = path_1.default.join(golangDbDirectory, "trap", languages_1.Language.go); return fs - .readdirSync(golangDbDirectory) - .some((fileName) => fileName.endsWith(".trap") || fileName.endsWith(".trap.gz")); + .readdirSync(trapDirectory) + .some((fileName) => [ + ".trap", + ".trap.gz", + ".trap.br", + ".trap.tar.gz", + ".trap.tar.br", + ".trap.tar", + ].some((ext) => fileName.endsWith(ext))); } async function run() { const startedAt = new Date(); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index b0d6116c07..b2cd01391f 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,uCAAyB;AACzB,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAkE;AAClE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBA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M;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAkE;AAClE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM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SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index d4307b16f8..f00709b974 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -1,5 +1,6 @@ -// We need to import `performance` on Node 12 import * as fs from "fs"; +import path from "path"; +// We need to import `performance` on Node 12 import { performance } from "perf_hooks"; import * as core from "@actions/core"; @@ -32,12 +33,12 @@ const pkg = require("../package.json"); interface AnalysisStatusReport extends upload_lib.UploadStatusReport, - QueriesStatusReport { } + QueriesStatusReport {} interface FinishStatusReport extends actionsUtil.StatusReportBase, - actionsUtil.DatabaseCreationTimings, - AnalysisStatusReport { } + actionsUtil.DatabaseCreationTimings, + AnalysisStatusReport {} interface FinishWithTrapUploadStatusReport extends FinishStatusReport { /** Size of TRAP caches that we uploaded, in bytes. */ @@ -71,9 +72,9 @@ export async function sendStatusReport( ...statusReportBase, ...(config ? { - ml_powered_javascript_queries: - util.getMlPoweredJsQueriesStatus(config), - } + ml_powered_javascript_queries: + util.getMlPoweredJsQueriesStatus(config), + } : {}), ...(stats || {}), ...(dbCreationTimings || {}), @@ -101,15 +102,23 @@ function hasBadExpectErrorInput(): boolean { } /** - * Returns whether any `.trap[.gz]` files exist under the `db-go` folder, + * Returns whether any TRAP files exist under the `db-go` folder, * indicating whether Go extraction has extracted at least one file. */ function doesGoExtractionOutputExist(config: Config): boolean { const golangDbDirectory = util.getCodeQLDatabasePath(config, Language.go); + const trapDirectory = path.join(golangDbDirectory, "trap", Language.go); return fs - .readdirSync(golangDbDirectory) - .some( - (fileName) => fileName.endsWith(".trap") || fileName.endsWith(".trap.gz") + .readdirSync(trapDirectory) + .some((fileName) => + [ + ".trap", + ".trap.gz", + ".trap.br", + ".trap.tar.gz", + ".trap.tar.br", + ".trap.tar", + ].some((ext) => fileName.endsWith(ext)) ); } From 14d70398281dad6d2dc5f4cc709a3a31efd2ad37 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 31 Aug 2022 12:24:07 +0100 Subject: [PATCH 10/44] Add logging for determining whether to run the Go autobuilder --- lib/analyze-action.js | 60 ++++++++++++++++++----------- lib/analyze-action.js.map | 2 +- src/analyze-action.ts | 80 ++++++++++++++++++++++++++------------- 3 files changed, 91 insertions(+), 51 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 1ab409990c..e66076febc 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -93,6 +93,42 @@ function doesGoExtractionOutputExist(config) { ".trap.tar", ].some((ext) => fileName.endsWith(ext))); } +/** + * When Go extraction reconciliation is enabled, either via the feature flag + * or an environment variable, we will attempt to autobuild Go to preserve + * compatibility for users who have set up Go using a legacy scanning style + * CodeQL workflow, i.e. one without an autobuild step or manual build + * steps. + * + * - We detect whether an autobuild step is present by checking the + * `CODEQL_ACTION_DID_AUTOBUILD_GOLANG` environment variable, which is set + * when the autobuilder is invoked. + * - We approximate whether manual build steps are present by looking at + * whether any extraction output already exists for Go. + */ +async function runGoAutobuilderIfLegacyWorkflow(config, featureFlags, logger) { + // Only proceed if the beta Go extraction reconciliation behavior is + // enabled. + if (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] !== "true" && + !(await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled))) { + logger.debug("Won't run the Go autobuilder since Go extraction reconciliation is not enabled."); + return; + } + if (!(languages_1.Language.go in config.languages)) { + logger.info("Won't run the Go autobuilder since Go analysis is not enabled."); + return; + } + if (process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] === "true") { + logger.info("Won't run the Go autobuilder since it has already been run."); + return; + } + // This captures whether a user has added manual build steps for Go + if (doesGoExtractionOutputExist(config)) { + logger.info("Won't run the Go autobuilder since at least one file of Go code has already been extracted."); + return; + } + await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger); +} async function run() { const startedAt = new Date(); let uploadResult = undefined; @@ -127,29 +163,7 @@ async function run() { const repositoryNwo = (0, repository_1.parseRepositoryNwo)(util.getRequiredEnvParam("GITHUB_REPOSITORY")); const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); const featureFlags = new feature_flags_1.GitHubFeatureFlags(gitHubVersion, apiDetails, repositoryNwo, logger); - // When Go extraction reconciliation is enabled, either via the feature flag - // or an environment variable, we will attempt to autobuild Go to preserve - // compatibility for users who have set up Go using a legacy scanning style - // CodeQL workflow, i.e. one without an autobuild step or manual build - // steps. - // - // - We detect whether an autobuild step is present by checking the - // `CODEQL_ACTION_DID_AUTOBUILD_GOLANG` environment variable, which is set - // when the autobuilder is invoked. - // - We approximate whether manual build steps are present by looking at - // whether any extraction output already exists for Go. - if ( - // Only proceed if the beta Go extraction reconciliation behavior is - // enabled. - (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] === "true" || - (await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled))) && - languages_1.Language.go in config.languages && - // This captures whether the autobuilder has already been invoked - process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && - // This captures whether a user has added manual build steps for Go - !doesGoExtractionOutputExist(config)) { - await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger); - } + await runGoAutobuilderIfLegacyWorkflow(config, featureFlags, logger); dbCreationTimings = await (0, analyze_1.runFinalize)(outputDir, threads, memory, config, logger, featureFlags); if (actionsUtil.getRequiredInput("skip-queries") !== "true") { runStats = await (0, analyze_1.runQueries)(outputDir, memory, util.getAddSnippetsFlag(actionsUtil.getRequiredInput("add-snippets")), threads, actionsUtil.getOptionalInput("category"), config, logger); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index b2cd01391f..de5326c720 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAkE;AAClE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CAA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I;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAgF;AAChF,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CAAC,CAAC;gBACE,6BAA6B,EAC3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,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index f00709b974..e0891dbed0 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -19,7 +19,7 @@ import { runAutobuild } from "./autobuild"; import { getCodeQL } from "./codeql"; import { Config, getConfig } from "./config-utils"; import { uploadDatabases } from "./database-upload"; -import { FeatureFlag, GitHubFeatureFlags } from "./feature-flags"; +import { FeatureFlag, FeatureFlags, GitHubFeatureFlags } from "./feature-flags"; import { Language } from "./languages"; import { getActionsLogger, Logger } from "./logging"; import { parseRepositoryNwo } from "./repository"; @@ -122,6 +122,57 @@ function doesGoExtractionOutputExist(config: Config): boolean { ); } +/** + * When Go extraction reconciliation is enabled, either via the feature flag + * or an environment variable, we will attempt to autobuild Go to preserve + * compatibility for users who have set up Go using a legacy scanning style + * CodeQL workflow, i.e. one without an autobuild step or manual build + * steps. + * + * - We detect whether an autobuild step is present by checking the + * `CODEQL_ACTION_DID_AUTOBUILD_GOLANG` environment variable, which is set + * when the autobuilder is invoked. + * - We approximate whether manual build steps are present by looking at + * whether any extraction output already exists for Go. + */ +async function runGoAutobuilderIfLegacyWorkflow( + config: Config, + featureFlags: FeatureFlags, + logger: Logger +) { + // Only proceed if the beta Go extraction reconciliation behavior is + // enabled. + if ( + process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] !== "true" && + !(await featureFlags.getValue( + FeatureFlag.GolangExtractionReconciliationEnabled + )) + ) { + logger.debug( + "Won't run the Go autobuilder since Go extraction reconciliation is not enabled." + ); + return; + } + if (!(Language.go in config.languages)) { + logger.info( + "Won't run the Go autobuilder since Go analysis is not enabled." + ); + return; + } + if (process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] === "true") { + logger.info("Won't run the Go autobuilder since it has already been run."); + return; + } + // This captures whether a user has added manual build steps for Go + if (doesGoExtractionOutputExist(config)) { + logger.info( + "Won't run the Go autobuilder since at least one file of Go code has already been extracted." + ); + return; + } + await runAutobuild(Language.go, config, logger); +} + async function run() { const startedAt = new Date(); let uploadResult: UploadResult | undefined = undefined; @@ -191,32 +242,7 @@ async function run() { logger ); - // When Go extraction reconciliation is enabled, either via the feature flag - // or an environment variable, we will attempt to autobuild Go to preserve - // compatibility for users who have set up Go using a legacy scanning style - // CodeQL workflow, i.e. one without an autobuild step or manual build - // steps. - // - // - We detect whether an autobuild step is present by checking the - // `CODEQL_ACTION_DID_AUTOBUILD_GOLANG` environment variable, which is set - // when the autobuilder is invoked. - // - We approximate whether manual build steps are present by looking at - // whether any extraction output already exists for Go. - if ( - // Only proceed if the beta Go extraction reconciliation behavior is - // enabled. - (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] === "true" || - (await featureFlags.getValue( - FeatureFlag.GolangExtractionReconciliationEnabled - ))) && - Language.go in config.languages && - // This captures whether the autobuilder has already been invoked - process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] !== "true" && - // This captures whether a user has added manual build steps for Go - !doesGoExtractionOutputExist(config) - ) { - await runAutobuild(Language.go, config, logger); - } + await runGoAutobuilderIfLegacyWorkflow(config, featureFlags, logger); dbCreationTimings = await runFinalize( outputDir, From 955290300ad30a7da8e9ac886917a4323b3a336e Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 31 Aug 2022 12:25:39 +0100 Subject: [PATCH 11/44] Fix language inclusion test `in` checks the indices of an array, not the values. --- lib/analyze-action.js | 2 +- lib/analyze-action.js.map | 2 +- src/analyze-action.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index e66076febc..3bf949cc91 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -114,7 +114,7 @@ async function runGoAutobuilderIfLegacyWorkflow(config, featureFlags, logger) { logger.debug("Won't run the Go autobuilder since Go extraction reconciliation is not enabled."); return; } - if (!(languages_1.Language.go in config.languages)) { + if (!config.languages.includes(languages_1.Language.go)) { logger.info("Won't run the Go autobuilder since Go analysis is not enabled."); return; } diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index de5326c720..04a9855d70 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAgF;AAChF,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACz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AO;KACR;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAgF;AAChF,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6C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AM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,KAAK,EACL,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;aAAM;YACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;QAED,OAAO;KACR;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index e0891dbed0..f57fa41f12 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -153,7 +153,7 @@ async function runGoAutobuilderIfLegacyWorkflow( ); return; } - if (!(Language.go in config.languages)) { + if (!config.languages.includes(Language.go)) { logger.info( "Won't run the Go autobuilder since Go analysis is not enabled." ); From 8e0846caf013143a402906f6c2e86e6e8600f11b Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 31 Aug 2022 13:09:38 +0100 Subject: [PATCH 12/44] =?UTF-8?q?Check=20TRAP=20directory=C2=A0exists=20fi?= =?UTF-8?q?rst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/analyze-action.js | 21 +++++++++++---------- lib/analyze-action.js.map | 2 +- src/analyze-action.ts | 27 +++++++++++++++------------ 3 files changed, 27 insertions(+), 23 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 3bf949cc91..0a2449064d 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -82,16 +82,17 @@ function hasBadExpectErrorInput() { function doesGoExtractionOutputExist(config) { const golangDbDirectory = util.getCodeQLDatabasePath(config, languages_1.Language.go); const trapDirectory = path_1.default.join(golangDbDirectory, "trap", languages_1.Language.go); - return fs - .readdirSync(trapDirectory) - .some((fileName) => [ - ".trap", - ".trap.gz", - ".trap.br", - ".trap.tar.gz", - ".trap.tar.br", - ".trap.tar", - ].some((ext) => fileName.endsWith(ext))); + return (fs.existsSync(trapDirectory) && + fs + .readdirSync(trapDirectory) + .some((fileName) => [ + ".trap", + ".trap.gz", + ".trap.br", + ".trap.tar.gz", + ".trap.tar.br", + ".trap.tar", + ].some((ext) => fileName.endsWith(ext)))); } /** * When Go extraction reconciliation is enabled, either via the feature flag diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 04a9855d70..a61e21da6c 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;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,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAgF;AAChF,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CAAC,CAAC;gBACE,6BAA6B,EAC3B,IAAI,CAAC,2BAA2B,CAAC,MAAM,CA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BAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index f57fa41f12..51199ba96f 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -108,18 +108,21 @@ function hasBadExpectErrorInput(): boolean { function doesGoExtractionOutputExist(config: Config): boolean { const golangDbDirectory = util.getCodeQLDatabasePath(config, Language.go); const trapDirectory = path.join(golangDbDirectory, "trap", Language.go); - return fs - .readdirSync(trapDirectory) - .some((fileName) => - [ - ".trap", - ".trap.gz", - ".trap.br", - ".trap.tar.gz", - ".trap.tar.br", - ".trap.tar", - ].some((ext) => fileName.endsWith(ext)) - ); + return ( + fs.existsSync(trapDirectory) && + fs + .readdirSync(trapDirectory) + .some((fileName) => + [ + ".trap", + ".trap.gz", + ".trap.br", + ".trap.tar.gz", + ".trap.tar.br", + ".trap.tar", + ].some((ext) => fileName.endsWith(ext)) + ) + ); } /** From a3607ca1f70bb4839a37511269a228c8251f78db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 1 Sep 2022 10:50:36 +0000 Subject: [PATCH 13/44] Update changelog and version after v2.1.22 --- CHANGELOG.md | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed89d93639..11acb06d28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CodeQL Action Changelog +## [UNRELEASED] + +No user facing changes. + ## 2.1.22 - 01 Sep 2022 - Downloading CodeQL packs has been moved to the `init` step. Previously, CodeQL packs were downloaded during the `analyze` step. [#1218](https://github.com/github/codeql-action/pull/1218) diff --git a/package-lock.json b/package-lock.json index ca0202a914..82af497e1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "2.1.22", + "version": "2.1.23", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "codeql", - "version": "2.1.22", + "version": "2.1.23", "license": "MIT", "dependencies": { "@actions/artifact": "^1.0.0", diff --git a/package.json b/package.json index e22b3e2d5e..31903ac42d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "2.1.22", + "version": "2.1.23", "private": true, "description": "CodeQL action", "scripts": { From 62fab9194716375ec536510e5a2f4b8f671a13b6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 1 Sep 2022 11:27:52 +0000 Subject: [PATCH 14/44] Update checked-in dependencies --- node_modules/.package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index e33e04225c..68bd34c84e 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "2.1.22", + "version": "2.1.23", "lockfileVersion": 2, "requires": true, "packages": { From fe1bd9ac7697bb96e10b6de7978ffe2d845eb14d Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Sep 2022 12:56:03 +0100 Subject: [PATCH 15/44] Improve clarity of logging --- lib/analyze-action.js | 23 ++++++++++++----------- lib/analyze-action.js.map | 2 +- src/analyze-action.ts | 25 ++++++++++++------------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 0a2449064d..35fc27ca3f 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -107,25 +107,26 @@ function doesGoExtractionOutputExist(config) { * - We approximate whether manual build steps are present by looking at * whether any extraction output already exists for Go. */ -async function runGoAutobuilderIfLegacyWorkflow(config, featureFlags, logger) { - // Only proceed if the beta Go extraction reconciliation behavior is - // enabled. - if (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] !== "true" && - !(await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled))) { - logger.debug("Won't run the Go autobuilder since Go extraction reconciliation is not enabled."); +async function runAutobuildIfLegacyGoWorkflow(config, featureFlags, logger) { + if (!config.languages.includes(languages_1.Language.go)) { return; } - if (!config.languages.includes(languages_1.Language.go)) { - logger.info("Won't run the Go autobuilder since Go analysis is not enabled."); + if (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] !== "true" && + !(await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled))) { + logger.debug("Won't run Go autobuild since Go extraction reconciliation is not enabled."); return; } if (process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] === "true") { - logger.info("Won't run the Go autobuilder since it has already been run."); + // This log line is info level while Go extraction reconciliation is in beta. + // We will make it debug level once Go extraction reconciliation is GA. + logger.info("Won't run Go autobuild since it has already been run."); return; } // This captures whether a user has added manual build steps for Go if (doesGoExtractionOutputExist(config)) { - logger.info("Won't run the Go autobuilder since at least one file of Go code has already been extracted."); + // This log line is info level while Go extraction reconciliation is in beta. + // We will make it debug level once Go extraction reconciliation is GA. + logger.info("Won't run Go autobuild since at least one file of Go code has already been extracted."); return; } await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger); @@ -164,7 +165,7 @@ async function run() { const repositoryNwo = (0, repository_1.parseRepositoryNwo)(util.getRequiredEnvParam("GITHUB_REPOSITORY")); const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); const featureFlags = new feature_flags_1.GitHubFeatureFlags(gitHubVersion, apiDetails, repositoryNwo, logger); - await runGoAutobuilderIfLegacyWorkflow(config, featureFlags, logger); + await runAutobuildIfLegacyGoWorkflow(config, featureFlags, logger); dbCreationTimings = await (0, analyze_1.runFinalize)(outputDir, threads, memory, config, logger, featureFlags); if (actionsUtil.getRequiredInput("skip-queries") !== "true") { runStats = await (0, analyze_1.runQueries)(outputDir, memory, util.getAddSnippetsFlag(actionsUtil.getRequiredInput("add-snippets")), threads, actionsUtil.getOptionalInput("category"), config, logger); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index a61e21da6c..2f2daf3050 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAgF;AAChF,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC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R;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAgF;AAChF,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;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CAAC,mBAAmB,EAAE,CAAC;YAC/C,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,KAAK,EACL,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;aAAM;YACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;SACH;QAED,OAAO;KACR;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE;QAC5B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 51199ba96f..6537b237af 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -138,13 +138,14 @@ function doesGoExtractionOutputExist(config: Config): boolean { * - We approximate whether manual build steps are present by looking at * whether any extraction output already exists for Go. */ -async function runGoAutobuilderIfLegacyWorkflow( +async function runAutobuildIfLegacyGoWorkflow( config: Config, featureFlags: FeatureFlags, logger: Logger ) { - // Only proceed if the beta Go extraction reconciliation behavior is - // enabled. + if (!config.languages.includes(Language.go)) { + return; + } if ( process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] !== "true" && !(await featureFlags.getValue( @@ -152,24 +153,22 @@ async function runGoAutobuilderIfLegacyWorkflow( )) ) { logger.debug( - "Won't run the Go autobuilder since Go extraction reconciliation is not enabled." - ); - return; - } - if (!config.languages.includes(Language.go)) { - logger.info( - "Won't run the Go autobuilder since Go analysis is not enabled." + "Won't run Go autobuild since Go extraction reconciliation is not enabled." ); return; } if (process.env["CODEQL_ACTION_DID_AUTOBUILD_GOLANG"] === "true") { - logger.info("Won't run the Go autobuilder since it has already been run."); + // This log line is info level while Go extraction reconciliation is in beta. + // We will make it debug level once Go extraction reconciliation is GA. + logger.info("Won't run Go autobuild since it has already been run."); return; } // This captures whether a user has added manual build steps for Go if (doesGoExtractionOutputExist(config)) { + // This log line is info level while Go extraction reconciliation is in beta. + // We will make it debug level once Go extraction reconciliation is GA. logger.info( - "Won't run the Go autobuilder since at least one file of Go code has already been extracted." + "Won't run Go autobuild since at least one file of Go code has already been extracted." ); return; } @@ -245,7 +244,7 @@ async function run() { logger ); - await runGoAutobuilderIfLegacyWorkflow(config, featureFlags, logger); + await runAutobuildIfLegacyGoWorkflow(config, featureFlags, logger); dbCreationTimings = await runFinalize( outputDir, From cf5d4659803cd9e3e70e07541dcda36ef4a2c31c Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Sep 2022 14:40:54 +0100 Subject: [PATCH 16/44] Trace Go when Go extraction reconciliation is enabled --- lib/analyze-action.js | 3 +-- lib/analyze-action.js.map | 2 +- lib/analyze.js | 8 +++--- lib/analyze.js.map | 2 +- lib/analyze.test.js | 3 ++- lib/analyze.test.js.map | 2 +- lib/autobuild-action.js | 19 ++++++++++--- lib/autobuild-action.js.map | 2 +- lib/autobuild.js | 25 ++++++++++++++++-- lib/autobuild.js.map | 2 +- lib/codeql.js | 5 ++-- lib/codeql.js.map | 2 +- lib/init.js | 2 +- lib/init.js.map | 2 +- lib/languages.js | 11 ++++---- lib/languages.js.map | 2 +- lib/languages.test.js | 38 +++++++++++++------------- lib/languages.test.js.map | 2 +- lib/runner.js | 2 +- lib/runner.js.map | 2 +- lib/tracer-config.js | 8 +++--- lib/tracer-config.js.map | 2 +- lib/tracer-config.test.js | 6 +++-- lib/tracer-config.test.js.map | 2 +- lib/util.js | 8 +++++- lib/util.js.map | 2 +- src/analyze-action.ts | 9 ++----- src/analyze.test.ts | 1 + src/analyze.ts | 21 ++++++++++++--- src/autobuild-action.ts | 39 +++++++++++++++++++++++---- src/autobuild.ts | 17 +++++++----- src/codeql.ts | 12 +++++++-- src/init.ts | 7 ++++- src/languages.test.ts | 50 ++++++++++++++++++++++------------- src/languages.ts | 25 ++++++++++++++---- src/runner.ts | 6 ++++- src/tracer-config.test.ts | 8 +++++- src/tracer-config.ts | 11 ++++++-- src/util.ts | 12 +++++++++ 39 files changed, 272 insertions(+), 110 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 35fc27ca3f..1f6df96c8e 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -111,8 +111,7 @@ async function runAutobuildIfLegacyGoWorkflow(config, featureFlags, logger) { if (!config.languages.includes(languages_1.Language.go)) { return; } - if (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] !== "true" && - !(await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled))) { + if (!(await util.isGoExtractionReconciliationEnabled(featureFlags))) { logger.debug("Won't run Go autobuild since Go extraction reconciliation is not enabled."); return; } diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 2f2daf3050..45e465ab40 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAgF;AAChF,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CAAC,CAAC;gBACE,6BAA6B,EAC3B,IAAI,CAAC,2BAA2B,CAAC,MAAM,CAAC;aAC3C;YACH,CAAC,CAAC,EAAE,CAAC;QACP,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC;QAChB,GAAG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,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAmE;AACnE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uB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nB,MAAM,CACP,CAAC;KACH;SAAM,IAAI,QAAQ,EAAE;QACnB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/analyze.js b/lib/analyze.js index a8116b93ed..18707793a9 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -70,12 +70,12 @@ async function setupPythonExtractor(logger) { logger.info(`Setting LGTM_PYTHON_SETUP_VERSION=${output}`); process.env["LGTM_PYTHON_SETUP_VERSION"] = output; } -async function createdDBForScannedLanguages(codeql, config, logger, featureFlags) { +async function createdDBForScannedLanguages(codeql, config, isGoExtractionReconciliationEnabled, logger, featureFlags) { // Insert the LGTM_INDEX_X env vars at this point so they are set when // we extract any scanned languages. analysisPaths.includeAndExcludeAnalysisPaths(config); for (const language of config.languages) { - if ((0, languages_1.isScannedLanguage)(language, logger) && + if ((0, languages_1.isScannedLanguage)(language, isGoExtractionReconciliationEnabled, logger) && !dbIsFinalized(config, language, logger)) { logger.startGroup(`Extracting ${language}`); if (language === languages_1.Language.python) { @@ -102,7 +102,7 @@ exports.dbIsFinalized = dbIsFinalized; async function finalizeDatabaseCreation(config, threadsFlag, memoryFlag, logger, featureFlags) { const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); const extractionStart = perf_hooks_1.performance.now(); - await createdDBForScannedLanguages(codeql, config, logger, featureFlags); + await createdDBForScannedLanguages(codeql, config, await util.isGoExtractionReconciliationEnabled(featureFlags), logger, featureFlags); const extractionTime = perf_hooks_1.performance.now() - extractionStart; const trapImportStart = perf_hooks_1.performance.now(); for (const language of config.languages) { @@ -303,7 +303,7 @@ async function runFinalize(outputDir, threadsFlag, memoryFlag, config, logger, f // step. if (await util.codeQlVersionAbove(codeql, codeql_1.CODEQL_VERSION_NEW_TRACING)) { // Delete variables as specified by the end-tracing script - await (0, tracer_config_1.endTracingForCluster)(config, logger); + await (0, tracer_config_1.endTracingForCluster)(config, await util.isGoExtractionReconciliationEnabled(featureFlags), logger); } else { // Delete the tracer config env var to avoid tracing ourselves diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 7e4e70d634..2957e4a245 100644 --- a/lib/analyze.js.map +++ b/lib/analyze.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC,CAAC,6CAA6C;AAEvF,yEAA2D;AAC3D,8CAAsB;AACtB,8CAAgC;AAGhC,gEAAkD;AAClD,qCAKkB;AAClB,4DAA8C;AAC9C,2CAAuC;AAEvC,2CAA0D;AAE1D,gEAAkD;AAClD,mDAAuD;AACvD,6CAA+B;AAE/B,MAAa,mBAAoB,SAAQ,KAAK;IAG5C,YAAY,mBAAwC,EAAE,OAAe;QACnE,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;QAClC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;CACF;AATD,kDASC;AAiDD,KAAK,UAAU,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/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -412,7 +412,8 @@ for (const options of [ const runnerConstructorStub = (0, codeql_test_1.stubToolRunnerConstructor)(); const codeqlObject = await (0, codeql_1.getCodeQLForTesting)("codeql/for-testing"); sinon.stub(codeqlObject, "getVersion").resolves(options.version); - const promise = (0, analyze_1.createdDBForScannedLanguages)(codeqlObject, stubConfig, (0, logging_1.getRunnerLogger)(true), (0, feature_flags_1.createFeatureFlags)(options.featureFlags)); + const promise = (0, analyze_1.createdDBForScannedLanguages)(codeqlObject, stubConfig, false, // Disable Go extraction reconciliation + (0, logging_1.getRunnerLogger)(true), (0, feature_flags_1.createFeatureFlags)(options.featureFlags)); // call listener on `codeql resolve extractor` const mockToolRunner = runnerConstructorStub.getCall(0); mockToolRunner.args[2].listeners.stdout('"/path/to/extractor"'); diff --git a/lib/analyze.test.js.map b/lib/analyze.test.js.map index 2e6c4264f9..0b6d4d89e2 100644 --- a/lib/analyze.test.js.map +++ b/lib/analyze.test.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.test.js","sourceRoot":"","sources":["../src/analyze.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,uCAMmB;AACnB,qCAA0D;AAC1D,+CAA0D;AAE1D,mDAAqC;AACrC,mDAAkE;AAClE,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA+D;AAC/D,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,yEAAyE;AACzE,wEAAwE;AACxE,oDAAoD;AACpD,IAAA,aAAI,EAAC,8CAA8C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC/D,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE;QACtE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AAC,CAAC,QAAQ,CAC/C,4BAA4B,CAC7B,EACD,gEAAgE,CACjE,CAAC;;YAEF,CAAC,CAAC,KAAK,CACL,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,4BAA4B,CAC7B,EACD,gEAAgE,CACjE,CAAC;QACJ,IAAI,OAAO,CAAC,SAAS;YACnB,CAAC,CAAC,IAAI,CACJ,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,+BAA+B,CAChC,EACD,mEAAmE,CACpE,CAAC;;YAEF,CAAC,CAAC,KAAK,CACL,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,+BAA+B,CAChC,EACD,mEAAmE,CACpE,CAAC;IACN,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/lib/autobuild-action.js b/lib/autobuild-action.js index 2ab3bde8c1..3b633f3df8 100644 --- a/lib/autobuild-action.js +++ b/lib/autobuild-action.js @@ -21,10 +21,13 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const core = __importStar(require("@actions/core")); const actions_util_1 = require("./actions-util"); +const api_client_1 = require("./api-client"); const autobuild_1 = require("./autobuild"); -const config_utils = __importStar(require("./config-utils")); +const configUtils = __importStar(require("./config-utils")); +const feature_flags_1 = require("./feature-flags"); const languages_1 = require("./languages"); const logging_1 = require("./logging"); +const repository_1 = require("./repository"); const util_1 = require("./util"); // eslint-disable-next-line import/no-commonjs const pkg = require("../package.json"); @@ -48,11 +51,21 @@ async function run() { if (!(await (0, actions_util_1.sendStatusReport)(await (0, actions_util_1.createStatusReportBase)("autobuild", "starting", startedAt)))) { return; } - const config = await config_utils.getConfig((0, actions_util_1.getTemporaryDirectory)(), logger); + const apiDetails = { + auth: (0, actions_util_1.getRequiredInput)("token"), + externalRepoAuth: (0, actions_util_1.getOptionalInput)("external-repository-token"), + url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), + apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), + }; + const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); + (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger, util_1.Mode.actions); + const repositoryNwo = (0, repository_1.parseRepositoryNwo)((0, util_1.getRequiredEnvParam)("GITHUB_REPOSITORY")); + const featureFlags = new feature_flags_1.GitHubFeatureFlags(gitHubVersion, apiDetails, repositoryNwo, logger); + const config = await configUtils.getConfig((0, actions_util_1.getTemporaryDirectory)(), logger); if (config === undefined) { throw new Error("Config file could not be found at expected location. Has the 'init' action been called?"); } - language = (0, autobuild_1.determineAutobuildLanguage)(config, logger); + language = await (0, autobuild_1.determineAutobuildLanguage)(config, featureFlags, logger); if (language !== undefined) { const workingDirectory = (0, actions_util_1.getOptionalInput)("working-directory"); if (workingDirectory) { diff --git a/lib/autobuild-action.js.map b/lib/autobuild-action.js.map index c6041fd031..bb80e699ad 100644 --- a/lib/autobuild-action.js.map +++ b/lib/autobuild-action.js.map @@ -1 +1 @@ -{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAOwB;AACxB,2CAAuE;AACvE,6DAA+C;AAC/C,2CAAuC;AACvC,uCAA6C;AAC7C,iCAAyE;AAEzE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AASvC,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,YAAsB,EACtB,eAAwB,EACxB,KAAa;IAEb,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,IAAA,+BAAgB,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACxD,MAAM,gBAAgB,GAA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BAAgB,CAAC,CAAC;aACjC;YACD,MAAM,IAAA,wBAAY,EAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;YAC7C,IAAI,QAAQ,KAAK,oBAAQ,CAAC,EAAE,EAAE;gBAC5B,IAAI,CAAC,cAAc,CAAC,oCAAoC,EAAE,MAAM,CAAC,CAAC;aACnE;SACF;KACF;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CACZ,mIACE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACvD,EAAE,CACH,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,yBAAyB,CAC7B,SAAS,EACT,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAC1B,QAAQ,EACR,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC1D,CAAC;QACF,OAAO;KACR;IAED,MAAM,yBAAyB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,4BAA4B,KAAK,EAAE,CAAC,CAAC;QACpD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAQwB;AACx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AAoC,EAAE,MAAM,CAAC,CAAC;aACnE;SACF;KACF;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CACZ,mIACE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACvD,EAAE,CACH,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,yBAAyB,CAC7B,SAAS,EACT,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAC1B,QAAQ,EACR,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC1D,CAAC;QACF,OAAO;KACR;IAED,MAAM,yBAAyB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,4BAA4B,KAAK,EAAE,CAAC,CAAC;QACpD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/autobuild.js b/lib/autobuild.js index 0449775daf..06fbefd2f3 100644 --- a/lib/autobuild.js +++ b/lib/autobuild.js @@ -1,14 +1,35 @@ "use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.runAutobuild = exports.determineAutobuildLanguage = void 0; const codeql_1 = require("./codeql"); const languages_1 = require("./languages"); -function determineAutobuildLanguage(config, logger) { +const util = __importStar(require("./util")); +async function determineAutobuildLanguage(config, featureFlags, logger) { + const isGoExtractionReconciliationEnabled = await util.isGoExtractionReconciliationEnabled(featureFlags); // Attempt to find a language to autobuild // We want pick the dominant language in the repo from the ones we're able to build // The languages are sorted in order specified by user or by lines of code if we got // them from the GitHub API, so try to build the first language on the list. - const autobuildLanguages = config.languages.filter((l) => (0, languages_1.isTracedLanguage)(l, logger)); + const autobuildLanguages = config.languages.filter((l) => (0, languages_1.isTracedLanguage)(l, isGoExtractionReconciliationEnabled, logger)); const language = autobuildLanguages[0]; if (!language) { logger.info("None of the languages in this project require extra build steps"); diff --git a/lib/autobuild.js.map b/lib/autobuild.js.map index 224b79f587..246011c64f 100644 --- a/lib/autobuild.js.map +++ b/lib/autobuild.js.map @@ -1 +1 @@ -{"version":3,"file":"autobuild.js","sourceRoot":"","sources":["../src/autobuild.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAErC,2CAAyD;AAGzD,SAAgB,0BAA0B,CACxC,MAA2B,EAC3B,MAAc;IAEd,0CAA0C;IAC1C,mFAAmF;IACnF,oFAAoF;IACpF,4EAA4E;IAC5E,MAAM,kBAAkB,GAAG,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CACvD,IAAA,4BAAgB,EAAC,CAAC,EAAE,MAAM,CAAC,CAC5B,CAAC;IACF,MAAM,QAAQ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IAAA,4BAAgB,EAAC,CAAC,EAAE,mCAAmC,EAAE,MAAM,CAAC,CACjE,CAAC;IACF,MAAM,QAAQ,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAEvC,IAAI,CAAC,QAAQ,EAAE;QACb,MAAM,CAAC,IAAI,CACT,iEAAiE,CAClE,CAAC;QACF,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,CAAC,KAAK,CAAC,sCAAsC,QAAQ,EAAE,CAAC,CAAC;IAE/D,IAAI,kBAAkB,CAAC,MAAM,GAAG,CAAC,EAAE;QACjC,MAAM,CAAC,OAAO,CACZ,oCAAoC,QAAQ,8BAA8B,kBAAkB;aACzF,KAAK,CAAC,CAAC,CAAC;aACR,IAAI,CAAC,OAAO,CAAC,uDAAuD,CACxE,CAAC;KACH;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAlCD,gEAkCC;AAEM,KAAK,UAAU,YAAY,CAChC,QAAkB,EAClB,MAA0B,EAC1B,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,qCAAqC,QAAQ,OAAO,CAAC,CAAC;IACxE,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACjD,MAAM,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACpC,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AATD,oCASC"} \ No newline at end of file diff --git a/lib/codeql.js b/lib/codeql.js index 67bdd2da4f..8292082f6d 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -488,7 +488,8 @@ async function getCodeQLForCmd(cmd, checkVersion) { }, async databaseInitCluster(config, sourceRoot, processName, processLevel, featureFlags, logger) { const extraArgs = config.languages.map((language) => `--language=${language}`); - if (config.languages.filter((l) => (0, languages_1.isTracedLanguage)(l, logger)).length > 0) { + const isGoExtractionReconciliationEnabled = await util.isGoExtractionReconciliationEnabled(featureFlags); + if (config.languages.filter((l) => (0, languages_1.isTracedLanguage)(l, isGoExtractionReconciliationEnabled, logger)).length > 0) { extraArgs.push("--begin-tracing"); extraArgs.push(...(await (0, trap_caching_1.getTrapCachingExtractorConfigArgs)(config))); if (processName !== undefined) { @@ -506,7 +507,7 @@ async function getCodeQLForCmd(cmd, checkVersion) { // so don't use Lua tracing when tracing Go on Windows. // Once we've released a fix, we should add a version gate based on the fixed version. !(config.languages.includes(languages_1.Language.go) && - (0, languages_1.isTracedLanguage)(languages_1.Language.go, logger) && + (0, languages_1.isTracedLanguage)(languages_1.Language.go, isGoExtractionReconciliationEnabled, logger) && process.platform === "win32")) { extraArgs.push("--internal-use-lua-tracing"); } diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 4f33d9dbc5..082e0c52ce 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,sEAAuD;AACvD,8CAAgC;AAChC,gEAAsD;AACtD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAA6E;AAC7E,kDAAoC;AAEpC,0DAA4C,CAAC,2CAA2C;AACxF,mDAAgD;AAChD,mDAA4D;AAC5D,2CAAyD;AAEzD,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;AAC/B,iCAAuC;AAuBvC,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YAAY,GAAW,EAAE,IAAc,EAAE,QAAgB,EAAE,KAAa;QACtE,KAAK,CACH,oBAAoB,GAAG,mBAAmB,IAAI;kBAClC,QAAQ;QAClB,KAAK,EAAE,CACV,CAAC;IACJ,CAAC;CACF;AARD,wDAQC;AAiKD;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD,MAAM,qBAAqB,GAAG,QAAQ,CAAC,aAAa,CAAC;AACxC,QAAA,gC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AC;YAC3C,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACtD;KACF;IAED,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7D,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,WAAW,CAAC,GAAQ;IAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/lib/init.js b/lib/init.js index bcfc157977..01a35a13d6 100644 --- a/lib/init.js +++ b/lib/init.js @@ -77,7 +77,7 @@ async function runInit(codeql, config, sourceRoot, processName, processLevel, fe throw e; } } - return await (0, tracer_config_1.getCombinedTracerConfig)(config, codeql, logger); + return await (0, tracer_config_1.getCombinedTracerConfig)(config, codeql, await util.isGoExtractionReconciliationEnabled(featureFlags), logger); } exports.runInit = runInit; // Runs a powershell script to inject the tracer into a parent process diff --git a/lib/init.js.map b/lib/init.js.map index b4722a20b1..9baea02c44 100644 --- a/lib/init.js.map +++ b/lib/init.js.map @@ -1 +1 @@ -{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,kEAAoD;AAEpD,gEAAkD;AAElD,qCAA2E;AAC3E,4DAA8C;AAI9C,mDAAwE;AACxE,6CAA+B;AAC/B,iCAA4C;AAErC,KAAK,UAAU,UAAU,CAC9B,SAA6B,EAC7B,UAA4B,EAC5B,OAAe,EACf,OAA2B,EAC3B,YAA0B,EAC1B,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACxC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,IAAA,oBAAW,EAChD,SAAS,EACT,UAAU,EACV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;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClB,MAAM,CAAC,OAAO,CACZ,gFAAgF,CAAC,IAAI;YACnF,qGAAqG;YACrG,oGAAoG;YACpG,iDAAiD,CACpD,CAAC;QACF,OAAO;KACR;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAzCD,8CAyCC"} \ No newline at end of file diff --git a/lib/languages.js b/lib/languages.js index 50bf0fa03f..02389bf766 100644 --- a/lib/languages.js +++ b/lib/languages.js @@ -55,20 +55,21 @@ function parseLanguage(language) { return undefined; } exports.parseLanguage = parseLanguage; -function isTracedLanguage(language, logger) { +function isTracedLanguage(language, isGoExtractionReconciliationEnabled, logger) { if (process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] === "true") { logger.warning("The CODEQL_EXTRACTOR_GO_BUILD_TRACING environment variable was set to 'true', but it must " + "be 'on' to enable Go build tracing. Setting it to 'on'."); process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] = "on"; core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on"); } + const shouldTraceGo = process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] === "on" || + isGoExtractionReconciliationEnabled; return (["cpp", "java", "csharp", "swift"].includes(language) || - (process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] === "on" && - language === Language.go)); + (shouldTraceGo && language === Language.go)); } exports.isTracedLanguage = isTracedLanguage; -function isScannedLanguage(language, logger) { - return !isTracedLanguage(language, logger); +function isScannedLanguage(language, isGoExtractionReconciliationEnabled, logger) { + return !isTracedLanguage(language, isGoExtractionReconciliationEnabled, logger); } exports.isScannedLanguage = isScannedLanguage; //# sourceMappingURL=languages.js.map \ No newline at end of file diff --git a/lib/languages.js.map b/lib/languages.js.map index b939201a84..91884e0235 100644 --- a/lib/languages.js.map +++ b/lib/languages.js.map @@ -1 +1 @@ -{"version":3,"file":"languages.js","sourceRoot":"","sources":["../src/langu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SAAS,CAAC;AACnB,CAAC;AAfD,sCAeC;AAED,SAAgB,gBAAgB,CAC9B,QAAkB,EAClB,mCAA4C,EAC5C,MAAc;IAEd,IAAI,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,KAAK,MAAM,EAAE;QAC/D,MAAM,CAAC,OAAO,CACZ,4FAA4F;YAC1F,yDAAyD,CAC5D,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,GAAG,IAAI,CAAC;QACxD,IAAI,CAAC,cAAc,CAAC,mCAAmC,EAAE,IAAI,CAAC,CAAC;KAChE;IAED,MAAM,aAAa,GACjB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,KAAK,IAAI;QACzD,mCAAmC,CAAC;IAEtC,OAAO,CACL,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACrD,CAAC,aAAa,IAAI,QAAQ,KAAK,QAAQ,CAAC,EAAE,CAAC,CAC5C,CAAC;AACJ,CAAC;AAtBD,4CAsBC;AAED,SAAgB,iBAAiB,CAC/B,QAAkB,EAClB,mCAA4C,EAC5C,MAAc;IAEd,OAAO,CAAC,gBAAgB,CACtB,QAAQ,EACR,mCAAmC,EACnC,MAAM,CACP,CAAC;AACJ,CAAC;AAVD,8CAUC"} \ No newline at end of file diff --git a/lib/languages.test.js b/lib/languages.test.js index af60beadda..b4d86e725e 100644 --- a/lib/languages.test.js +++ b/lib/languages.test.js @@ -26,22 +26,24 @@ const testing_utils_1 = require("./testing-utils"); t.deepEqual((0, languages_1.parseLanguage)(" "), undefined); t.deepEqual((0, languages_1.parseLanguage)(""), undefined); }); -(0, ava_1.default)("isTracedLanguage", async (t) => { - const logger = (0, logging_1.getRunnerLogger)(true); - t.true((0, languages_1.isTracedLanguage)(languages_1.Language.cpp, logger)); - t.true((0, languages_1.isTracedLanguage)(languages_1.Language.java, logger)); - t.true((0, languages_1.isTracedLanguage)(languages_1.Language.csharp, logger)); - t.false((0, languages_1.isTracedLanguage)(languages_1.Language.go, logger)); - t.false((0, languages_1.isTracedLanguage)(languages_1.Language.javascript, logger)); - t.false((0, languages_1.isTracedLanguage)(languages_1.Language.python, logger)); -}); -(0, ava_1.default)("isScannedLanguage", async (t) => { - const logger = (0, logging_1.getRunnerLogger)(true); - t.false((0, languages_1.isScannedLanguage)(languages_1.Language.cpp, logger)); - t.false((0, languages_1.isScannedLanguage)(languages_1.Language.java, logger)); - t.false((0, languages_1.isScannedLanguage)(languages_1.Language.csharp, logger)); - t.true((0, languages_1.isScannedLanguage)(languages_1.Language.go, logger)); - t.true((0, languages_1.isScannedLanguage)(languages_1.Language.javascript, logger)); - t.true((0, languages_1.isScannedLanguage)(languages_1.Language.python, logger)); -}); +for (const isReconciliationOn of [false, true]) { + (0, ava_1.default)(`isTracedLanguage (go reconciliation ${isReconciliationOn ? "enabled" : "disabled"}`, async (t) => { + const logger = (0, logging_1.getRunnerLogger)(true); + t.true((0, languages_1.isTracedLanguage)(languages_1.Language.cpp, isReconciliationOn, logger)); + t.true((0, languages_1.isTracedLanguage)(languages_1.Language.java, isReconciliationOn, logger)); + t.true((0, languages_1.isTracedLanguage)(languages_1.Language.csharp, isReconciliationOn, logger)); + t.is((0, languages_1.isTracedLanguage)(languages_1.Language.go, isReconciliationOn, logger), isReconciliationOn); + t.false((0, languages_1.isTracedLanguage)(languages_1.Language.javascript, isReconciliationOn, logger)); + t.false((0, languages_1.isTracedLanguage)(languages_1.Language.python, isReconciliationOn, logger)); + }); + (0, ava_1.default)(`isScannedLanguage (go reconciliation ${isReconciliationOn ? "enabled" : "disabled"}`, async (t) => { + const logger = (0, logging_1.getRunnerLogger)(true); + t.false((0, languages_1.isScannedLanguage)(languages_1.Language.cpp, isReconciliationOn, logger)); + t.false((0, languages_1.isScannedLanguage)(languages_1.Language.java, isReconciliationOn, logger)); + t.false((0, languages_1.isScannedLanguage)(languages_1.Language.csharp, isReconciliationOn, logger)); + t.is((0, languages_1.isScannedLanguage)(languages_1.Language.go, isReconciliationOn, logger), !isReconciliationOn); + t.true((0, languages_1.isScannedLanguage)(languages_1.Language.javascript, isReconciliationOn, logger)); + t.true((0, languages_1.isScannedLanguage)(languages_1.Language.python, isReconciliationOn, logger)); + }); +} //# sourceMappingURL=languages.test.js.map \ No newline at end of file diff --git a/lib/languages.test.js.map b/lib/languages.test.js.map index 029ca66329..607a9b5a38 100644 --- a/lib/languages.test.js.map +++ b/lib/languages.test.js.map @@ -1 +1 @@ -{"version":3,"file":"languages.test.js","sourceRoot":"","sources":["../src/languages.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AAEvB,2CAKqB;AACrB,uCAA4C;AAC5C,mDAA6C;AAE7C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,eAAe,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAChC,gBAAgB;IAChB,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,QAAQ,CAAC,EAAE,oBAAQ,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,KAAK,CAAC,EAAE,oBAAQ,CAAC,GAAG,CAAC,CAAC;IAChD,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,IAAI,CAAC,EAAE,oBAAQ,CAAC,EAAE,CAAC,CAAC;IAC9C,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,MAAM,CAAC,EAAE,oBAAQ,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,YAAY,CAAC,EAAE,oBAAQ,CAAC,UAAU,CAAC,CAAC;IAC9D,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,QAAQ,CAAC,EAAE,oBAAQ,CAAC,MAAM,CAAC,CAAC;IAEtD,UAAU;IACV,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa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,CAAC,CAAC;QAErC,CAAC,CAAC,KAAK,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,GAAG,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QACrE,CAAC,CAAC,KAAK,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,IAAI,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QACtE,CAAC,CAAC,KAAK,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QAExE,CAAC,CAAC,EAAE,CACF,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,EAAE,EAAE,kBAAkB,EAAE,MAAM,CAAC,EAC1D,CAAC,kBAAkB,CACpB,CAAC;QAEF,CAAC,CAAC,IAAI,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,UAAU,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QAC3E,CAAC,CAAC,IAAI,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;IACzE,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/lib/runner.js b/lib/runner.js index 86e4c4feed..db46db4293 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -229,7 +229,7 @@ program } } else { - language = (0, autobuild_1.determineAutobuildLanguage)(config, logger); + language = await (0, autobuild_1.determineAutobuildLanguage)(config, (0, feature_flags_1.createFeatureFlags)([]), logger); } if (language !== undefined) { await (0, autobuild_1.runAutobuild)(language, config, logger); diff --git a/lib/runner.js.map b/lib/runner.js.map index 2d476a782c..ef0b801d46 100644 --- a/lib/runner.js.map +++ b/lib/runner.js.map @@ -1 +1 @@ -{"version":3,"file":"runner.js","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2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IAAA,qBAAc,EAAC,GAAG,CAAC,SAAS,CAAC;QAClC,MAAM,EAAE,SAAS;KAClB,CAAC;IACF,IAAI;QACF,MAAM,aAAa,GAAG,MAAM,IAAA,uBAAgB,EAAC,UAAU,CAAC,CAAC;QACzD,MAAM,UAAU,GAAG,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;QACrD,MAAM,UAAU,CAAC,gBAAgB,CAC/B,GAAG,CAAC,SAAS,EACb,IAAA,+BAAkB,EAAC,GAAG,CAAC,UAAU,CAAC,EAClC,GAAG,CAAC,MAAM,EACV,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EACjB,GAAG,CAAC,QAAQ,EACZ,UAAU,EACV,aAAa,EACb,UAAU,EACV,MAAM,CACP,CAAC;KACH;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAC9B,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5D,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;KACtB;AACH,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/tracer-config.js b/lib/tracer-config.js index bc4b4b922d..407125ba08 100644 --- a/lib/tracer-config.js +++ b/lib/tracer-config.js @@ -33,9 +33,9 @@ const CRITICAL_TRACER_VARS = new Set([ "SEMMLE_DEPTRACE_SOCKET", "SEMMLE_JAVA_TOOL_OPTIONS", ]); -async function endTracingForCluster(config, logger) { +async function endTracingForCluster(config, isGoExtractionReconciliationEnabled, logger) { // If there are no traced languages, we don't need to do anything. - if (!config.languages.some((l) => (0, languages_1.isTracedLanguage)(l, logger))) + if (!config.languages.some((l) => (0, languages_1.isTracedLanguage)(l, isGoExtractionReconciliationEnabled, logger))) return; const envVariablesFile = path.resolve(config.dbLocation, "temp/tracingEnvironment/end-tracing.json"); if (!fs.existsSync(envVariablesFile)) { @@ -189,9 +189,9 @@ function concatTracerConfigs(tracerConfigs, config, writeBothEnvironments = fals return { env, spec }; } exports.concatTracerConfigs = concatTracerConfigs; -async function getCombinedTracerConfig(config, codeql, logger) { +async function getCombinedTracerConfig(config, codeql, isGoExtractionReconciliationEnabled, logger) { // Abort if there are no traced languages as there's nothing to do - const tracedLanguages = config.languages.filter((l) => (0, languages_1.isTracedLanguage)(l, logger)); + const tracedLanguages = config.languages.filter((l) => (0, languages_1.isTracedLanguage)(l, isGoExtractionReconciliationEnabled, logger)); if (tracedLanguages.length === 0) { return undefined; } diff --git a/lib/tracer-config.js.map b/lib/tracer-config.js.map index 8689ecbf2f..674e294b33 100644 --- a/lib/tracer-config.js.map +++ b/lib/tracer-config.js.map @@ -1 +1 @@ -{"version":3,"file":"tracer-config.js","sourceRoot":"","sources":["../src/tracer-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,qCAA8D;AAE9D,2CAAyD;AAEzD,6CAA+B;AAC/B,iCAA4C;AAO5C,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAAC;IACnC,yBAAyB;IACzB,eAAe;IACf,8BAA8B;IAC9B,wBAAwB;IACxB,0BAA0B;CAC3B,CAAC,CAAC;AAEI,KAAK,UAAU,oBAAoB,CACxC,MAA0B,EAC1B,MAAc;IAEd,kEAAkE;IAClE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,4BAAgB,EAAC,CAAC,EAAE,MAAM,CAAC,CAAC;QAAE,OAAO;IAEvE,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CACnC,MAAM,CAAC,UAAU,EACjB,0CAA0C,CAC3C,CAAC;IACF,IAAI,CAAC,EA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O,EACP,gBAAgB,CACjB,CAAC;SACH;aAAM,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;YACvC,gBAAgB,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,IAAI,CAC5C,SAAS,EACT,OAAO,EACP,SAAS,EACT,gBAAgB,CACjB,CAAC;SACH;KACF;IAED,iFAAiF;IACjF,iEAAiE;IACjE,iFAAiF;IACjF,qEAAqE;IACrE,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC;IAC7E,gBAAgB,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,IAAI,CAC/C,gBAAgB,CAAC,GAAG,CAAC,aAAa,CAAC,EACnC,OAAO,EACP,gBAAgB,CAAC,GAAG,CAAC,iBAAiB,CAAC,EACvC,aAAa,CACd,CAAC;IAEF,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AA7DD,0DA6DC"} \ No newline at end of file +{"version":3,"file":"tracer-config.js","sourceRoot":"","sources":["../src/tracer-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,qCAA8D;AAE9D,2CAAyD;AAEzD,6CAA+B;AAC/B,iCAA4C;AAO5C,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAAC;IACnC,yBAAyB;IACzB,eAAe;IACf,8BAA8B;IAC9B,wBAAwB;IACxB,0BAA0B;CAC3B,CAAC,CAAC;AAEI,KAAK,UAAU,oBAAoB,CACxC,MAA0B,EAC1B,mCAA4C,EAC5C,MAAc;IAEd,kEAAkE;IAClE,IACE,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAC3B,IAAA,4BAAgB,EAAC,CAAC,EAAE,mCAAmC,EAAE,MAAM,CAAC,CACjE;QAED,OAAO;IAET,MAAM,gBAAgB,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,KAAK,QAAQ,EAAE;YACjC,gBAAgB,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,IAAI,CACvD,SAAS,EACT,OAAO,EACP,OAAO,EACP,gBAAgB,CACjB,CAAC;SACH;aAAM,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;YACvC,gBAAgB,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,IAAI,CAC5C,SAAS,EACT,OAAO,EACP,SAAS,EACT,gBAAgB,CACjB,CAAC;SACH;KACF;IAED,iFAAiF;IACjF,iEAAiE;IACjE,iFAAiF;IACjF,qEAAqE;IACrE,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC;IAC7E,gBAAgB,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,IAAI,CAC/C,gBAAgB,CAAC,GAAG,CAAC,aAAa,CAAC,EACnC,OAAO,EACP,gBAAgB,CAAC,GAAG,CAAC,iBAAiB,CAAC,EACvC,aAAa,CACd,CAAC;IAEF,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AA9DD,0DA8DC"} \ No newline at end of file diff --git a/lib/tracer-config.test.js b/lib/tracer-config.test.js index f79d8e82d3..3df6051121 100644 --- a/lib/tracer-config.test.js +++ b/lib/tracer-config.test.js @@ -276,7 +276,8 @@ function getTestConfig(tmpDir) { }; }, }); - t.deepEqual(await (0, tracer_config_1.getCombinedTracerConfig)(config, codeQL, (0, logging_1.getRunnerLogger)(true)), undefined); + t.deepEqual(await (0, tracer_config_1.getCombinedTracerConfig)(config, codeQL, false, // Disable Go extraction reconciliation + (0, logging_1.getRunnerLogger)(true)), undefined); }); }); (0, ava_1.default)("getCombinedTracerConfig - valid spec file", async (t) => { @@ -300,7 +301,8 @@ function getTestConfig(tmpDir) { }; }, }); - const result = await (0, tracer_config_1.getCombinedTracerConfig)(config, codeQL, (0, logging_1.getRunnerLogger)(true)); + const result = await (0, tracer_config_1.getCombinedTracerConfig)(config, codeQL, false, // Disable Go extraction reconciliation + (0, logging_1.getRunnerLogger)(true)); t.notDeepEqual(result, undefined); const expectedEnv = { foo: "bar", diff --git a/lib/tracer-config.test.js.map b/lib/tracer-config.test.js.map index 38275757aa..d5b8a93570 100644 --- a/lib/tracer-config.test.js.map +++ b/lib/tracer-config.test.js.map @@ -1 +1 @@ -{"version":3,"file":"tracer-config.test.js","sourceRoot":"","sources":["../src/tracer-config.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAuB;AAEvB,qCAAqC;AACrC,4DAA8C;AAC9C,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA6C;AAC7C,mDAIyB;AACzB,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO;QACL,SAAS,EAAE,CAAC,oBAAQ,CAAC,IAAI,CAAC;QAC1B,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,EAAE;QACT,iBAAiB,EAAE,EAAE;QACrB,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,EAAE;QACb,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB;QACxE,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,kBAAkB,CAAC;QACpD,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,KAAK;QAChB,iBAAiB,EAAE,IAAI,CAAC,2BAA2B;QACnD,iBAAiB,EAAE,IAAI,CAAC,2BAA2B;QACnD,sBAAsB,EAAE,WAAW,CAAC,6BAA6B;QACjE,UAAU,EAAE,EAAE;QACd,qBAAqB,EAAE,CAAC;KACzB,CAAC;AACJ,CAAC;AAED,uBAAuB;AACvB,IAAA,aAAI,EAAC,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AC"} \ No newline at end of file +{"version":3,"file":"tracer-config.test.js","sourceRoot":"","sources":["../src/tracer-config.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAuB;AAEvB,qCAAqC;AACrC,4DAA8C;AAC9C,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA6C;AAC7C,mDAIyB;AACzB,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO;QACL,SAAS,EAAE,CAAC,oBAAQ,CAAC,IAAI,CAAC;QAC1B,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,EAAE;QACT,iBAAiB,EAAE,EAAE;QACrB,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,EAAE;QACb,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB;QACxE,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,kBAAkB,CAAC;QACpD,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,KAAK;QAChB,iBAAiB,EAAE,IAAI,CAAC,2BAA2B;QACnD,iBAAiB,EAAE,IAAI,CAAC,2BAA2B;QACnD,sBAAsB,EAAE,WAAW,CAAC,6BAA6B;QACjE,UAAU,EAAE,EAAE;QACd,qBAAqB,EAAE,CAAC;KACzB,CAAC;AACJ,CAAC;AAED,uBAAuB;AACvB,IAAA,aAAI,EAAC,4CAA4C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC7D,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACrC,MAAM,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;QAErC,MAAM,MAAM,GAAG,IAAA,kBAAS,EAAC;YACvB,KAAK,CAAC,YAAY;gBAChB,OAAO;oBACL,0BAA0B,EAA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F,IAAI,OAAO,CAAC,QAAQ,KAAK,QAAQ,EAAE;YACjC,WAAW,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,IAAI,CAC9C,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,EAC9B,OAAO,EACP,OAAO,EACP,gBAAgB,CACjB,CAAC;SACH;aAAM,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;YACvC,WAAW,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,IAAI,CACnC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,EAC9B,OAAO,EACP,SAAS,EACT,gBAAgB,CACjB,CAAC;SACH;QAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;YAChC,WAAW,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,IAAI,CACtC,UAAU,EACV,wBAAwB,CACzB,CAAC;SACH;aAAM,IAAI,OAAO,CAAC,QAAQ,KAAK,QAAQ,EAAE;YACxC,WAAW,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,IAAI,CACtC,UAAU,EACV,oBAAoB,CACrB,CAAC;SACH;aAAM;YACL,WAAW,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,IAAI,CACtC,UAAU,EACV,sBAAsB,CACvB,CAAC;SACH;QAED,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE;YAClB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC;YACxC,GAAG,EAAE,WAAW;SACjB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/util.js b/lib/util.js index 5266aae493..c63eef79a3 100644 --- a/lib/util.js +++ b/lib/util.js @@ -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.listFolder = exports.doesDirectoryExist = exports.useCodeScanningConfigInCli = exports.isInTestMode = exports.checkActionVersion = exports.getMlPoweredJsQueriesStatus = exports.getMlPoweredJsQueriesPack = exports.ML_POWERED_JS_QUERIES_PACK_NAME = exports.isGoodVersion = exports.delay = exports.bundleDb = exports.codeQlVersionAbove = exports.getCachedCodeQlVersion = exports.cacheCodeQlVersion = exports.isGitHubGhesVersionBelow = 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.isGoExtractionReconciliationEnabled = exports.listFolder = exports.doesDirectoryExist = exports.useCodeScanningConfigInCli = exports.isInTestMode = exports.checkActionVersion = exports.getMlPoweredJsQueriesStatus = exports.getMlPoweredJsQueriesPack = exports.ML_POWERED_JS_QUERIES_PACK_NAME = exports.isGoodVersion = exports.delay = exports.bundleDb = exports.codeQlVersionAbove = exports.getCachedCodeQlVersion = exports.cacheCodeQlVersion = exports.isGitHubGhesVersionBelow = 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")); @@ -34,6 +34,7 @@ const api_client_1 = require("./api-client"); const apiCompatibility = __importStar(require("./api-compatibility.json")); const codeql_1 = require("./codeql"); const config_utils_1 = require("./config-utils"); +const feature_flags_1 = require("./feature-flags"); /** * Specifies bundle versions that are known to be broken * and will not be used if found in the toolcache. @@ -689,4 +690,9 @@ function listFolder(dir) { return files; } exports.listFolder = listFolder; +async function isGoExtractionReconciliationEnabled(featureFlags) { + return (process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] === "true" || + (await featureFlags.getValue(feature_flags_1.FeatureFlag.GolangExtractionReconciliationEnabled))); +} +exports.isGoExtractionReconciliationEnabled = isGoExtractionReconciliationEnabled; //# sourceMappingURL=util.js.map \ No newline at end of file diff --git a/lib/util.js.map b/lib/util.js.map index 8a553fdbf1..f6e108111b 100644 --- a/lib/util.js.map +++ b/lib/util.js.map @@ -1 +1 @@ -{"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,2CAA6B;AAG7B,oDAAsC;AACtC,8CAAsB;AACtB,+CAAiC;AAEjC,kDAAoC;AACpC,6CAA8D;AAC9D,2EAA6D;AAC7D,qCAIkB;AAClB,iDAIwB;AAIxB;;;GAGG;AACH,MAAM,eAAe,GAAG,CAAC,gBAAgB,CAAC,CAAC;AAE3C;;GAEG;AACU,QAAA,iBAAiB,GAAG,oBAAoB,CAAC;AAEtD;;GAEG;AACU,QAAA,2BAA2B,GAAG,iBAAiB,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GAAa,EAAE,CAAC;IACzB,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE;QAC3B,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE;YAClB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;SAC3C;aAAM,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE;YAC9B,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjE;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAdD,gCAcC;AAEM,KAAK,UAAU,mCAAmC,CACvD,YAA0B;IAE1B,OAAO,CACL,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,KAAK,MAAM;QAC/D,CAAC,MAAM,YAAY,CAAC,QAAQ,CAC1B,2BAAW,CAAC,qCAAqC,CAClD,CAAC,CACH,CAAC;AACJ,CAAC;AATD,kFASC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 6537b237af..99eae9594d 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -19,7 +19,7 @@ import { runAutobuild } from "./autobuild"; import { getCodeQL } from "./codeql"; import { Config, getConfig } from "./config-utils"; import { uploadDatabases } from "./database-upload"; -import { FeatureFlag, FeatureFlags, GitHubFeatureFlags } from "./feature-flags"; +import { FeatureFlags, GitHubFeatureFlags } from "./feature-flags"; import { Language } from "./languages"; import { getActionsLogger, Logger } from "./logging"; import { parseRepositoryNwo } from "./repository"; @@ -146,12 +146,7 @@ async function runAutobuildIfLegacyGoWorkflow( if (!config.languages.includes(Language.go)) { return; } - if ( - process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] !== "true" && - !(await featureFlags.getValue( - FeatureFlag.GolangExtractionReconciliationEnabled - )) - ) { + if (!(await util.isGoExtractionReconciliationEnabled(featureFlags))) { logger.debug( "Won't run Go autobuild since Go extraction reconciliation is not enabled." ); diff --git a/src/analyze.test.ts b/src/analyze.test.ts index ab7787f137..d8a90e3636 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -494,6 +494,7 @@ for (const options of [ const promise = createdDBForScannedLanguages( codeqlObject, stubConfig, + false, // Disable Go extraction reconciliation getRunnerLogger(true), createFeatureFlags(options.featureFlags) ); diff --git a/src/analyze.ts b/src/analyze.ts index 04d265d5a9..d51b5415b7 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -121,6 +121,7 @@ async function setupPythonExtractor(logger: Logger) { export async function createdDBForScannedLanguages( codeql: CodeQL, config: configUtils.Config, + isGoExtractionReconciliationEnabled: boolean, logger: Logger, featureFlags: FeatureFlags ) { @@ -130,7 +131,11 @@ export async function createdDBForScannedLanguages( for (const language of config.languages) { if ( - isScannedLanguage(language, logger) && + isScannedLanguage( + language, + isGoExtractionReconciliationEnabled, + logger + ) && !dbIsFinalized(config, language, logger) ) { logger.startGroup(`Extracting ${language}`); @@ -174,7 +179,13 @@ async function finalizeDatabaseCreation( const codeql = await getCodeQL(config.codeQLCmd); const extractionStart = performance.now(); - await createdDBForScannedLanguages(codeql, config, logger, featureFlags); + await createdDBForScannedLanguages( + codeql, + config, + await util.isGoExtractionReconciliationEnabled(featureFlags), + logger, + featureFlags + ); const extractionTime = performance.now() - extractionStart; const trapImportStart = performance.now(); @@ -519,7 +530,11 @@ export async function runFinalize( // step. if (await util.codeQlVersionAbove(codeql, CODEQL_VERSION_NEW_TRACING)) { // Delete variables as specified by the end-tracing script - await endTracingForCluster(config, logger); + await endTracingForCluster( + config, + await util.isGoExtractionReconciliationEnabled(featureFlags), + logger + ); } else { // Delete the tracer config env var to avoid tracing ourselves delete process.env[sharedEnv.ODASA_TRACER_CONFIGURATION]; diff --git a/src/autobuild-action.ts b/src/autobuild-action.ts index 5f7b2ec61f..7cd0857bcf 100644 --- a/src/autobuild-action.ts +++ b/src/autobuild-action.ts @@ -4,15 +4,25 @@ import { createStatusReportBase, getActionsStatus, getOptionalInput, + getRequiredInput, getTemporaryDirectory, sendStatusReport, StatusReportBase, } from "./actions-util"; +import { getGitHubVersionActionsOnly } from "./api-client"; import { determineAutobuildLanguage, runAutobuild } from "./autobuild"; -import * as config_utils from "./config-utils"; +import * as configUtils from "./config-utils"; +import { GitHubFeatureFlags } from "./feature-flags"; import { Language } from "./languages"; import { getActionsLogger } from "./logging"; -import { checkActionVersion, initializeEnvironment, Mode } from "./util"; +import { parseRepositoryNwo } from "./repository"; +import { + checkActionVersion, + checkGitHubVersionInRange, + getRequiredEnvParam, + initializeEnvironment, + Mode, +} from "./util"; // eslint-disable-next-line import/no-commonjs const pkg = require("../package.json"); @@ -62,16 +72,35 @@ async function run() { return; } - const config = await config_utils.getConfig( - getTemporaryDirectory(), + const apiDetails = { + auth: getRequiredInput("token"), + externalRepoAuth: getOptionalInput("external-repository-token"), + url: getRequiredEnvParam("GITHUB_SERVER_URL"), + apiURL: getRequiredEnvParam("GITHUB_API_URL"), + }; + + const gitHubVersion = await getGitHubVersionActionsOnly(); + checkGitHubVersionInRange(gitHubVersion, logger, Mode.actions); + + const repositoryNwo = parseRepositoryNwo( + getRequiredEnvParam("GITHUB_REPOSITORY") + ); + + const featureFlags = new GitHubFeatureFlags( + gitHubVersion, + apiDetails, + repositoryNwo, logger ); + + const config = await configUtils.getConfig(getTemporaryDirectory(), logger); if (config === undefined) { throw new Error( "Config file could not be found at expected location. Has the 'init' action been called?" ); } - language = determineAutobuildLanguage(config, logger); + + language = await determineAutobuildLanguage(config, featureFlags, logger); if (language !== undefined) { const workingDirectory = getOptionalInput("working-directory"); if (workingDirectory) { diff --git a/src/autobuild.ts b/src/autobuild.ts index d3ae3dcca5..f917f238e7 100644 --- a/src/autobuild.ts +++ b/src/autobuild.ts @@ -1,18 +1,23 @@ import { getCodeQL } from "./codeql"; -import * as config_utils from "./config-utils"; +import * as configUtils from "./config-utils"; +import { FeatureFlags } from "./feature-flags"; import { Language, isTracedLanguage } from "./languages"; import { Logger } from "./logging"; +import * as util from "./util"; -export function determineAutobuildLanguage( - config: config_utils.Config, +export async function determineAutobuildLanguage( + config: configUtils.Config, + featureFlags: FeatureFlags, logger: Logger -): Language | undefined { +): Promise { + const isGoExtractionReconciliationEnabled = + await util.isGoExtractionReconciliationEnabled(featureFlags); // Attempt to find a language to autobuild // We want pick the dominant language in the repo from the ones we're able to build // The languages are sorted in order specified by user or by lines of code if we got // them from the GitHub API, so try to build the first language on the list. const autobuildLanguages = config.languages.filter((l) => - isTracedLanguage(l, logger) + isTracedLanguage(l, isGoExtractionReconciliationEnabled, logger) ); const language = autobuildLanguages[0]; @@ -38,7 +43,7 @@ export function determineAutobuildLanguage( export async function runAutobuild( language: Language, - config: config_utils.Config, + config: configUtils.Config, logger: Logger ) { logger.startGroup(`Attempting to automatically build ${language} code`); diff --git a/src/codeql.ts b/src/codeql.ts index 3ea2352940..6abb76055b 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -777,8 +777,12 @@ async function getCodeQLForCmd( const extraArgs = config.languages.map( (language) => `--language=${language}` ); + const isGoExtractionReconciliationEnabled = + await util.isGoExtractionReconciliationEnabled(featureFlags); if ( - config.languages.filter((l) => isTracedLanguage(l, logger)).length > 0 + config.languages.filter((l) => + isTracedLanguage(l, isGoExtractionReconciliationEnabled, logger) + ).length > 0 ) { extraArgs.push("--begin-tracing"); extraArgs.push(...(await getTrapCachingExtractorConfigArgs(config))); @@ -800,7 +804,11 @@ async function getCodeQLForCmd( // Once we've released a fix, we should add a version gate based on the fixed version. !( config.languages.includes(Language.go) && - isTracedLanguage(Language.go, logger) && + isTracedLanguage( + Language.go, + isGoExtractionReconciliationEnabled, + logger + ) && process.platform === "win32" ) ) { diff --git a/src/init.ts b/src/init.ts index 93dca03392..196e14c8de 100644 --- a/src/init.ts +++ b/src/init.ts @@ -134,7 +134,12 @@ export async function runInit( throw e; } } - return await getCombinedTracerConfig(config, codeql, logger); + return await getCombinedTracerConfig( + config, + codeql, + await util.isGoExtractionReconciliationEnabled(featureFlags), + logger + ); } // Runs a powershell script to inject the tracer into a parent process diff --git a/src/languages.test.ts b/src/languages.test.ts index 3e1e6d506f..84241b1242 100644 --- a/src/languages.test.ts +++ b/src/languages.test.ts @@ -32,26 +32,40 @@ test("parseLanguage", async (t) => { t.deepEqual(parseLanguage(""), undefined); }); -test("isTracedLanguage", async (t) => { - const logger = getRunnerLogger(true); +for (const isReconciliationOn of [false, true]) { + test(`isTracedLanguage (go reconciliation ${ + isReconciliationOn ? "enabled" : "disabled" + }`, async (t) => { + const logger = getRunnerLogger(true); - t.true(isTracedLanguage(Language.cpp, logger)); - t.true(isTracedLanguage(Language.java, logger)); - t.true(isTracedLanguage(Language.csharp, logger)); + t.true(isTracedLanguage(Language.cpp, isReconciliationOn, logger)); + t.true(isTracedLanguage(Language.java, isReconciliationOn, logger)); + t.true(isTracedLanguage(Language.csharp, isReconciliationOn, logger)); - t.false(isTracedLanguage(Language.go, logger)); - t.false(isTracedLanguage(Language.javascript, logger)); - t.false(isTracedLanguage(Language.python, logger)); -}); + t.is( + isTracedLanguage(Language.go, isReconciliationOn, logger), + isReconciliationOn + ); -test("isScannedLanguage", async (t) => { - const logger = getRunnerLogger(true); + t.false(isTracedLanguage(Language.javascript, isReconciliationOn, logger)); + t.false(isTracedLanguage(Language.python, isReconciliationOn, logger)); + }); - t.false(isScannedLanguage(Language.cpp, logger)); - t.false(isScannedLanguage(Language.java, logger)); - t.false(isScannedLanguage(Language.csharp, logger)); + test(`isScannedLanguage (go reconciliation ${ + isReconciliationOn ? "enabled" : "disabled" + }`, async (t) => { + const logger = getRunnerLogger(true); - t.true(isScannedLanguage(Language.go, logger)); - t.true(isScannedLanguage(Language.javascript, logger)); - t.true(isScannedLanguage(Language.python, logger)); -}); + t.false(isScannedLanguage(Language.cpp, isReconciliationOn, logger)); + t.false(isScannedLanguage(Language.java, isReconciliationOn, logger)); + t.false(isScannedLanguage(Language.csharp, isReconciliationOn, logger)); + + t.is( + isScannedLanguage(Language.go, isReconciliationOn, logger), + !isReconciliationOn + ); + + t.true(isScannedLanguage(Language.javascript, isReconciliationOn, logger)); + t.true(isScannedLanguage(Language.python, isReconciliationOn, logger)); + }); +} diff --git a/src/languages.ts b/src/languages.ts index 4ee1298bc6..372d7d815b 100644 --- a/src/languages.ts +++ b/src/languages.ts @@ -40,7 +40,11 @@ export function parseLanguage(language: string): Language | undefined { return undefined; } -export function isTracedLanguage(language: Language, logger: Logger): boolean { +export function isTracedLanguage( + language: Language, + isGoExtractionReconciliationEnabled: boolean, + logger: Logger +): boolean { if (process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] === "true") { logger.warning( "The CODEQL_EXTRACTOR_GO_BUILD_TRACING environment variable was set to 'true', but it must " + @@ -50,13 +54,24 @@ export function isTracedLanguage(language: Language, logger: Logger): boolean { core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on"); } + const shouldTraceGo = + process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] === "on" || + isGoExtractionReconciliationEnabled; + return ( ["cpp", "java", "csharp", "swift"].includes(language) || - (process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] === "on" && - language === Language.go) + (shouldTraceGo && language === Language.go) ); } -export function isScannedLanguage(language: Language, logger: Logger): boolean { - return !isTracedLanguage(language, logger); +export function isScannedLanguage( + language: Language, + isGoExtractionReconciliationEnabled: boolean, + logger: Logger +): boolean { + return !isTracedLanguage( + language, + isGoExtractionReconciliationEnabled, + logger + ); } diff --git a/src/runner.ts b/src/runner.ts index 5a1481ad40..b991eb77d4 100644 --- a/src/runner.ts +++ b/src/runner.ts @@ -373,7 +373,11 @@ program ); } } else { - language = determineAutobuildLanguage(config, logger); + language = await determineAutobuildLanguage( + config, + createFeatureFlags([]), + logger + ); } if (language !== undefined) { await runAutobuild(language, config, logger); diff --git a/src/tracer-config.test.ts b/src/tracer-config.test.ts index 06957c6c3f..f98e144447 100644 --- a/src/tracer-config.test.ts +++ b/src/tracer-config.test.ts @@ -331,7 +331,12 @@ test("getCombinedTracerConfig - return undefined when no languages are traced la }); t.deepEqual( - await getCombinedTracerConfig(config, codeQL, getRunnerLogger(true)), + await getCombinedTracerConfig( + config, + codeQL, + false, // Disable Go extraction reconciliation + getRunnerLogger(true) + ), undefined ); }); @@ -366,6 +371,7 @@ test("getCombinedTracerConfig - valid spec file", async (t) => { const result = await getCombinedTracerConfig( config, codeQL, + false, // Disable Go extraction reconciliation getRunnerLogger(true) ); t.notDeepEqual(result, undefined); diff --git a/src/tracer-config.ts b/src/tracer-config.ts index 875ee02a35..30e7d804a5 100644 --- a/src/tracer-config.ts +++ b/src/tracer-config.ts @@ -23,10 +23,16 @@ const CRITICAL_TRACER_VARS = new Set([ export async function endTracingForCluster( config: configUtils.Config, + isGoExtractionReconciliationEnabled: boolean, logger: Logger ): Promise { // If there are no traced languages, we don't need to do anything. - if (!config.languages.some((l) => isTracedLanguage(l, logger))) return; + if ( + !config.languages.some((l) => + isTracedLanguage(l, isGoExtractionReconciliationEnabled, logger) + ) + ) + return; const envVariablesFile = path.resolve( config.dbLocation, @@ -226,11 +232,12 @@ export function concatTracerConfigs( export async function getCombinedTracerConfig( config: configUtils.Config, codeql: CodeQL, + isGoExtractionReconciliationEnabled: boolean, logger: Logger ): Promise { // Abort if there are no traced languages as there's nothing to do const tracedLanguages = config.languages.filter((l) => - isTracedLanguage(l, logger) + isTracedLanguage(l, isGoExtractionReconciliationEnabled, logger) ); if (tracedLanguages.length === 0) { return undefined; diff --git a/src/util.ts b/src/util.ts index 69299f61f9..87ea55ecea 100644 --- a/src/util.ts +++ b/src/util.ts @@ -20,6 +20,7 @@ import { parsePacksSpecification, prettyPrintPack, } from "./config-utils"; +import { FeatureFlag, FeatureFlags } from "./feature-flags"; import { Language } from "./languages"; import { Logger } from "./logging"; @@ -817,3 +818,14 @@ export function listFolder(dir: string): string[] { } return files; } + +export async function isGoExtractionReconciliationEnabled( + featureFlags: FeatureFlags +): Promise { + return ( + process.env["CODEQL_ACTION_RECONCILE_GO_EXTRACTION"] === "true" || + (await featureFlags.getValue( + FeatureFlag.GolangExtractionReconciliationEnabled + )) + ); +} From 6d34731d9317c9907787206c7bc488ed4f786616 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Sep 2022 14:59:39 +0100 Subject: [PATCH 17/44] Make `createdDBForScannedLanguages` test robust to new async calls Previously the test depended on `createdDBForScannedLanguages` making no async calls prior to `codeql resolve extractor`. --- lib/analyze.test.js | 21 ++++++++++++++------- lib/analyze.test.js.map | 2 +- src/analyze.test.ts | 25 ++++++++++++++++++------- 3 files changed, 33 insertions(+), 15 deletions(-) diff --git a/lib/analyze.test.js b/lib/analyze.test.js index 677cde8fd6..fa13d0542b 100644 --- a/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -24,12 +24,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const fs = __importStar(require("fs")); const path = __importStar(require("path")); +const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); const ava_1 = __importDefault(require("ava")); const yaml = __importStar(require("js-yaml")); const sinon = __importStar(require("sinon")); const analyze_1 = require("./analyze"); const codeql_1 = require("./codeql"); -const codeql_test_1 = require("./codeql.test"); const count = __importStar(require("./count-loc")); const feature_flags_1 = require("./feature-flags"); const languages_1 = require("./languages"); @@ -409,15 +409,22 @@ for (const options of [ }, ]) { (0, ava_1.default)(`createdDBForScannedLanguages() ${options.name}`, async (t) => { - const runnerConstructorStub = (0, codeql_test_1.stubToolRunnerConstructor)(); + const runnerObjectStub = sinon.createStubInstance(toolrunner.ToolRunner); + runnerObjectStub.exec.resolves(0); + const runnerConstructorStub = sinon.stub(toolrunner, "ToolRunner"); + runnerConstructorStub.callsFake((_toolPath, args, execOptions) => { + // Call listener on `codeql resolve extractor` + if (args[0] === "resolve" && args[1] === "extractor") { + const func = execOptions.listeners.stdout; + t.truthy(func, "stdout listener is defined"); + func(Buffer.from('"/path/to/extractor"')); + } + return runnerObjectStub; + }); const codeqlObject = await (0, codeql_1.getCodeQLForTesting)("codeql/for-testing"); sinon.stub(codeqlObject, "getVersion").resolves(options.version); - const promise = (0, analyze_1.createdDBForScannedLanguages)(codeqlObject, stubConfig, false, // Disable Go extraction reconciliation + await (0, analyze_1.createdDBForScannedLanguages)(codeqlObject, stubConfig, false, // Disable Go extraction reconciliation (0, logging_1.getRunnerLogger)(true), (0, feature_flags_1.createFeatureFlags)(options.featureFlags)); - // call listener on `codeql resolve extractor` - const mockToolRunner = runnerConstructorStub.getCall(0); - mockToolRunner.args[2].listeners.stdout('"/path/to/extractor"'); - await promise; if (options.yesFlagSet) t.true(runnerConstructorStub.secondCall.args[1].includes("--internal-use-lua-tracing"), "--internal-use-lua-tracing should be present, but it is absent"); else diff --git a/lib/analyze.test.js.map b/lib/analyze.test.js.map index 0b6d4d89e2..a6589433d9 100644 --- a/lib/analyze.test.js.map +++ b/lib/analyze.test.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.test.js","sourceRoot":"","sources":["../src/analyze.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,uCAMmB;AACnB,qCAA0D;AAC1D,+CAA0D;AAE1D,mDAAqC;AACrC,mDAAkE;AAClE,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA+D;AAC/D,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,yEAAyE;AACzE,wEAAwE;AACxE,oDAAoD;AACpD,IAAA,aAAI,EAAC,8CAA8C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC/D,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE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AAM,YAAY,GAAG,MAAM,IAAA,4BAAmB,EAAC,oBAAoB,CAAC,CAAC;QACrE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAEjE,MAAM,IAAA,sCAA4B,EAChC,YAAY,EACZ,UAAU,EACV,KAAK,EAAE,uCAAuC;QAC9C,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,IAAA,kCAAkB,EAAC,OAAO,CAAC,YAAY,CAAC,CACzC,CAAC;QACF,IAAI,OAAO,CAAC,UAAU;YACpB,CAAC,CAAC,IAAI,CACJ,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,4BAA4B,CAC7B,EACD,gEAAgE,CACjE,CAAC;;YAEF,CAAC,CAAC,KAAK,CACL,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,4BAA4B,CAC7B,EACD,gEAAgE,CACjE,CAAC;QACJ,IAAI,OAAO,CAAC,SAAS;YACnB,CAAC,CAAC,IAAI,CACJ,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,+BAA+B,CAChC,EACD,mEAAmE,CACpE,CAAC;;YAEF,CAAC,CAAC,KAAK,CACL,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,+BAA+B,CAChC,EACD,mEAAmE,CACpE,CAAC;IACN,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/src/analyze.test.ts b/src/analyze.test.ts index d8a90e3636..998b93d72e 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -1,6 +1,8 @@ import * as fs from "fs"; import * as path from "path"; +import { ExecOptions } from "@actions/exec"; +import * as toolrunner from "@actions/exec/lib/toolrunner"; import test, { ExecutionContext } from "ava"; import * as yaml from "js-yaml"; import * as sinon from "sinon"; @@ -13,7 +15,6 @@ import { validateQueryFilters, } from "./analyze"; import { setCodeQL, getCodeQLForTesting } from "./codeql"; -import { stubToolRunnerConstructor } from "./codeql.test"; import { Config } from "./config-utils"; import * as count from "./count-loc"; import { createFeatureFlags, FeatureFlag } from "./feature-flags"; @@ -487,21 +488,31 @@ for (const options of [ }, ]) { test(`createdDBForScannedLanguages() ${options.name}`, async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); + const runnerObjectStub = sinon.createStubInstance(toolrunner.ToolRunner); + runnerObjectStub.exec.resolves(0); + const runnerConstructorStub = sinon.stub(toolrunner, "ToolRunner"); + runnerConstructorStub.callsFake( + (_toolPath, args, execOptions: ExecOptions) => { + // Call listener on `codeql resolve extractor` + if (args[0] === "resolve" && args[1] === "extractor") { + const func = execOptions.listeners!.stdout as (data: Buffer) => void; + t.truthy(func, "stdout listener is defined"); + func(Buffer.from('"/path/to/extractor"')); + } + return runnerObjectStub; + } + ); + const codeqlObject = await getCodeQLForTesting("codeql/for-testing"); sinon.stub(codeqlObject, "getVersion").resolves(options.version); - const promise = createdDBForScannedLanguages( + await createdDBForScannedLanguages( codeqlObject, stubConfig, false, // Disable Go extraction reconciliation getRunnerLogger(true), createFeatureFlags(options.featureFlags) ); - // call listener on `codeql resolve extractor` - const mockToolRunner = runnerConstructorStub.getCall(0); - mockToolRunner.args[2].listeners.stdout('"/path/to/extractor"'); - await promise; if (options.yesFlagSet) t.true( runnerConstructorStub.secondCall.args[1].includes( From e460fa2e94d5d1b4d21364a6301d9d6b070fc789 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Sep 2022 15:02:47 +0100 Subject: [PATCH 18/44] Tidy up `createdDBForScannedLanguages` Now the test is fixed, we can simplify by introducing an async call. --- lib/analyze.js | 6 +++--- lib/analyze.js.map | 2 +- lib/analyze.test.js | 3 +-- lib/analyze.test.js.map | 2 +- src/analyze.test.ts | 1 - src/analyze.ts | 11 ++--------- 6 files changed, 8 insertions(+), 17 deletions(-) diff --git a/lib/analyze.js b/lib/analyze.js index 18707793a9..876216a846 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -70,12 +70,12 @@ async function setupPythonExtractor(logger) { logger.info(`Setting LGTM_PYTHON_SETUP_VERSION=${output}`); process.env["LGTM_PYTHON_SETUP_VERSION"] = output; } -async function createdDBForScannedLanguages(codeql, config, isGoExtractionReconciliationEnabled, logger, featureFlags) { +async function createdDBForScannedLanguages(codeql, config, logger, featureFlags) { // Insert the LGTM_INDEX_X env vars at this point so they are set when // we extract any scanned languages. analysisPaths.includeAndExcludeAnalysisPaths(config); for (const language of config.languages) { - if ((0, languages_1.isScannedLanguage)(language, isGoExtractionReconciliationEnabled, logger) && + if ((0, languages_1.isScannedLanguage)(language, await util.isGoExtractionReconciliationEnabled(featureFlags), logger) && !dbIsFinalized(config, language, logger)) { logger.startGroup(`Extracting ${language}`); if (language === languages_1.Language.python) { @@ -102,7 +102,7 @@ exports.dbIsFinalized = dbIsFinalized; async function finalizeDatabaseCreation(config, threadsFlag, memoryFlag, logger, featureFlags) { const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); const extractionStart = perf_hooks_1.performance.now(); - await createdDBForScannedLanguages(codeql, config, await util.isGoExtractionReconciliationEnabled(featureFlags), logger, featureFlags); + await createdDBForScannedLanguages(codeql, config, logger, featureFlags); const extractionTime = perf_hooks_1.performance.now() - extractionStart; const trapImportStart = perf_hooks_1.performance.now(); for (const language of config.languages) { diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 2957e4a245..a7eac59cf7 100644 --- a/lib/analyze.js.map +++ b/lib/analyze.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC,CAAC,6CAA6C;AAEvF,yEAA2D;AAC3D,8CAAsB;AACtB,8CAAg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,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;YAC7C,MAAM,CAAC,IAAI,CACT,qDAAqD,IAAI,CAAC,SAAS,CACjE,EAAE,CACH,EAAE,CACJ,CAAC;SACH;KACF;IAED,IAAI,MAAM,CAAC,MAAM,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAChE;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAjCD,oDAiCC"} \ No newline at end of file diff --git a/lib/analyze.test.js b/lib/analyze.test.js index fa13d0542b..ad2f1d8159 100644 --- a/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -423,8 +423,7 @@ for (const options of [ }); const codeqlObject = await (0, codeql_1.getCodeQLForTesting)("codeql/for-testing"); sinon.stub(codeqlObject, "getVersion").resolves(options.version); - await (0, analyze_1.createdDBForScannedLanguages)(codeqlObject, stubConfig, false, // Disable Go extraction reconciliation - (0, logging_1.getRunnerLogger)(true), (0, feature_flags_1.createFeatureFlags)(options.featureFlags)); + await (0, analyze_1.createdDBForScannedLanguages)(codeqlObject, stubConfig, (0, logging_1.getRunnerLogger)(true), (0, feature_flags_1.createFeatureFlags)(options.featureFlags)); if (options.yesFlagSet) t.true(runnerConstructorStub.secondCall.args[1].includes("--internal-use-lua-tracing"), "--internal-use-lua-tracing should be present, but it is absent"); else diff --git a/lib/analyze.test.js.map b/lib/analyze.test.js.map index a6589433d9..d6651392bd 100644 --- a/lib/analyze.test.js.map +++ b/lib/analyze.test.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.test.js","sourceRoot":"","sources":["../src/analyze.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B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CAAC,QAAQ,CAC/C,4BAA4B,CAC7B,EACD,gEAAgE,CACjE,CAAC;;YAEF,CAAC,CAAC,KAAK,CACL,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,4BAA4B,CAC7B,EACD,gEAAgE,CACjE,CAAC;QACJ,IAAI,OAAO,CAAC,SAAS;YACnB,CAAC,CAAC,IAAI,CACJ,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,+BAA+B,CAChC,EACD,mEAAmE,CACpE,CAAC;;YAEF,CAAC,CAAC,KAAK,CACL,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/C,+BAA+B,CAChC,EACD,mEAAmE,CACpE,CAAC;IACN,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/src/analyze.test.ts b/src/analyze.test.ts index 998b93d72e..0d2ebffa90 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -509,7 +509,6 @@ for (const options of [ await createdDBForScannedLanguages( codeqlObject, stubConfig, - false, // Disable Go extraction reconciliation getRunnerLogger(true), createFeatureFlags(options.featureFlags) ); diff --git a/src/analyze.ts b/src/analyze.ts index d51b5415b7..f7d4b5701f 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -121,7 +121,6 @@ async function setupPythonExtractor(logger: Logger) { export async function createdDBForScannedLanguages( codeql: CodeQL, config: configUtils.Config, - isGoExtractionReconciliationEnabled: boolean, logger: Logger, featureFlags: FeatureFlags ) { @@ -133,7 +132,7 @@ export async function createdDBForScannedLanguages( if ( isScannedLanguage( language, - isGoExtractionReconciliationEnabled, + await util.isGoExtractionReconciliationEnabled(featureFlags), logger ) && !dbIsFinalized(config, language, logger) @@ -179,13 +178,7 @@ async function finalizeDatabaseCreation( const codeql = await getCodeQL(config.codeQLCmd); const extractionStart = performance.now(); - await createdDBForScannedLanguages( - codeql, - config, - await util.isGoExtractionReconciliationEnabled(featureFlags), - logger, - featureFlags - ); + await createdDBForScannedLanguages(codeql, config, logger, featureFlags); const extractionTime = performance.now() - extractionStart; const trapImportStart = performance.now(); From e303e2c65bbd029d533a0248e8e5c3185d0951a2 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Sep 2022 15:43:17 +0100 Subject: [PATCH 19/44] Update legacy workflow PR check We now trace in init when using reconciled tracing, so we no longer need to set the `CODEQL_EXTRACTOR_GO_BUILD_TRACING` environment variable. --- .github/workflows/__go-reconciled-tracing-legacy-workflow.yml | 2 -- pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/__go-reconciled-tracing-legacy-workflow.yml b/.github/workflows/__go-reconciled-tracing-legacy-workflow.yml index df7826ec18..709a57edf0 100644 --- a/.github/workflows/__go-reconciled-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-reconciled-tracing-legacy-workflow.yml @@ -82,7 +82,5 @@ jobs: env: # Enable reconciled Go tracing beta functionality CODEQL_ACTION_RECONCILE_GO_EXTRACTION: 'true' - # Remove this once we start injecting the Go tracer in the init step. - CODEQL_EXTRACTOR_GO_BUILD_TRACING: on DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false' INTERNAL_CODEQL_ACTION_DEBUG_LOC: true diff --git a/pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml b/pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml index d61a437c29..b911bcfeaf 100644 --- a/pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml +++ b/pr-checks/checks/go-reconciled-tracing-legacy-workflow.yml @@ -4,8 +4,6 @@ os: ["ubuntu-latest", "macos-latest"] env: # Enable reconciled Go tracing beta functionality CODEQL_ACTION_RECONCILE_GO_EXTRACTION: "true" - # Remove this once we start injecting the Go tracer in the init step. - CODEQL_EXTRACTOR_GO_BUILD_TRACING: "on" DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" steps: - uses: actions/setup-go@v3 From 1d311fe8e5fe591e3f18f04893703f7fa5213674 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Sep 2022 15:43:49 +0100 Subject: [PATCH 20/44] Add PR checks for reconciled tracing with autobuilder and build steps --- .../__go-reconciled-tracing-autobuilder.yml | 91 +++++++++++++++ ...-reconciled-tracing-custom-build-steps.yml | 109 ++++++++++++++++++ .../go-reconciled-tracing-autobuilder.yml | 32 +++++ ...-reconciled-tracing-custom-build-steps.yml | 33 ++++++ 4 files changed, 265 insertions(+) create mode 100644 .github/workflows/__go-reconciled-tracing-autobuilder.yml create mode 100644 .github/workflows/__go-reconciled-tracing-custom-build-steps.yml create mode 100644 pr-checks/checks/go-reconciled-tracing-autobuilder.yml create mode 100644 pr-checks/checks/go-reconciled-tracing-custom-build-steps.yml diff --git a/.github/workflows/__go-reconciled-tracing-autobuilder.yml b/.github/workflows/__go-reconciled-tracing-autobuilder.yml new file mode 100644 index 0000000000..4d4a6427ee --- /dev/null +++ b/.github/workflows/__go-reconciled-tracing-autobuilder.yml @@ -0,0 +1,91 @@ +# Warning: This file is generated automatically, and should not be modified. +# Instead, please modify the template in the pr-checks directory and run: +# pip install ruamel.yaml && python3 sync.py +# to regenerate this file. + +name: 'PR Check - Go: Reconciled tracing with autobuilder' +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GO111MODULE: auto +on: + push: + branches: + - main + - releases/v1 + - releases/v2 + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + workflow_dispatch: {} +jobs: + go-reconciled-tracing-autobuilder: + strategy: + matrix: + include: + - os: ubuntu-latest + version: stable-20210308 + - os: macos-latest + version: stable-20210308 + - os: ubuntu-latest + version: stable-20210319 + - os: macos-latest + version: stable-20210319 + - os: ubuntu-latest + version: stable-20210809 + - os: macos-latest + version: stable-20210809 + - os: ubuntu-latest + version: cached + - os: macos-latest + version: cached + - os: ubuntu-latest + version: latest + - os: macos-latest + version: latest + - os: ubuntu-latest + version: nightly-latest + - os: macos-latest + version: nightly-latest + name: 'Go: Reconciled tracing with autobuilder' + timeout-minutes: 45 + runs-on: ${{ matrix.os }} + steps: + - name: Check out repository + uses: actions/checkout@v3 + - name: Prepare test + id: prepare-test + uses: ./.github/prepare-test + with: + version: ${{ matrix.version }} + - uses: actions/setup-go@v3 + with: + go-version: ^1.13.1 + - uses: ./../action/init + with: + languages: go + tools: ${{ steps.prepare-test.outputs.tools-url }} + env: + TEST_MODE: true + - uses: ./../action/autobuild + - uses: ./../action/analyze + env: + TEST_MODE: true + - shell: bash + run: | + if [[ "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" != true ]]; then + echo "Expected the Go autobuilder to be run, but the" \ + "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was not true." + exit 1 + fi + cd "$RUNNER_TEMP/codeql_databases" + if [[ ! -d go ]]; then + echo "Did not find a Go database" + exit 1 + fi + env: + CODEQL_ACTION_RECONCILE_GO_EXTRACTION: 'true' + DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false' + INTERNAL_CODEQL_ACTION_DEBUG_LOC: true diff --git a/.github/workflows/__go-reconciled-tracing-custom-build-steps.yml b/.github/workflows/__go-reconciled-tracing-custom-build-steps.yml new file mode 100644 index 0000000000..cb4933cf51 --- /dev/null +++ b/.github/workflows/__go-reconciled-tracing-custom-build-steps.yml @@ -0,0 +1,109 @@ +# Warning: This file is generated automatically, and should not be modified. +# Instead, please modify the template in the pr-checks directory and run: +# pip install ruamel.yaml && python3 sync.py +# to regenerate this file. + +name: 'PR Check - Go: Reconciled tracing with custom build steps' +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GO111MODULE: auto +on: + push: + branches: + - main + - releases/v1 + - releases/v2 + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + workflow_dispatch: {} +jobs: + go-reconciled-tracing-custom-build-steps: + strategy: + matrix: + include: + - os: ubuntu-latest + version: stable-20210308 + - os: macos-latest + version: stable-20210308 + - os: windows-2019 + version: stable-20210308 + - os: ubuntu-latest + version: stable-20210319 + - os: macos-latest + version: stable-20210319 + - os: windows-2019 + version: stable-20210319 + - os: ubuntu-latest + version: stable-20210809 + - os: macos-latest + version: stable-20210809 + - os: windows-2019 + version: stable-20210809 + - os: ubuntu-latest + version: cached + - os: macos-latest + version: cached + - os: windows-2019 + version: cached + - os: ubuntu-latest + version: latest + - os: macos-latest + version: latest + - os: windows-2019 + version: latest + - os: windows-2022 + version: latest + - os: ubuntu-latest + version: nightly-latest + - os: macos-latest + version: nightly-latest + - os: windows-2019 + version: nightly-latest + - os: windows-2022 + version: nightly-latest + name: 'Go: Reconciled tracing with custom build steps' + timeout-minutes: 45 + runs-on: ${{ matrix.os }} + steps: + - name: Check out repository + uses: actions/checkout@v3 + - name: Prepare test + id: prepare-test + uses: ./.github/prepare-test + with: + version: ${{ matrix.version }} + - uses: actions/setup-go@v3 + with: + go-version: ^1.13.1 + - uses: ./../action/init + with: + languages: go + tools: ${{ steps.prepare-test.outputs.tools-url }} + env: + TEST_MODE: true + - name: Build code + shell: bash + run: go build main.go + - uses: ./../action/analyze + env: + TEST_MODE: true + - shell: bash + run: | + if [[ -v CODEQL_ACTION_DID_AUTOBUILD_GOLANG ]]; then + echo "Expected the Go autobuilder not to be run, but the" \ + "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was set." + exit 1 + fi + cd "$RUNNER_TEMP/codeql_databases" + if [[ ! -d go ]]; then + echo "Did not find a Go database" + exit 1 + fi + env: + # Enable reconciled Go tracing beta functionality + CODEQL_ACTION_RECONCILE_GO_EXTRACTION: 'true' + INTERNAL_CODEQL_ACTION_DEBUG_LOC: true diff --git a/pr-checks/checks/go-reconciled-tracing-autobuilder.yml b/pr-checks/checks/go-reconciled-tracing-autobuilder.yml new file mode 100644 index 0000000000..cb7ed01eea --- /dev/null +++ b/pr-checks/checks/go-reconciled-tracing-autobuilder.yml @@ -0,0 +1,32 @@ +name: "Go: Reconciled tracing with autobuilder" +description: "Checks that Go reconciled tracing works when using an autobuilder step" +os: ["ubuntu-latest", "macos-latest"] +env: + CODEQL_ACTION_RECONCILE_GO_EXTRACTION: "true" + DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" +steps: + - uses: actions/setup-go@v3 + with: + go-version: "^1.13.1" + - uses: ./../action/init + with: + languages: go + tools: ${{ steps.prepare-test.outputs.tools-url }} + env: + TEST_MODE: true + - uses: ./../action/autobuild + - uses: ./../action/analyze + env: + TEST_MODE: true + - shell: bash + run: | + if [[ "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" != true ]]; then + echo "Expected the Go autobuilder to be run, but the" \ + "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was not true." + exit 1 + fi + cd "$RUNNER_TEMP/codeql_databases" + if [[ ! -d go ]]; then + echo "Did not find a Go database" + exit 1 + fi diff --git a/pr-checks/checks/go-reconciled-tracing-custom-build-steps.yml b/pr-checks/checks/go-reconciled-tracing-custom-build-steps.yml new file mode 100644 index 0000000000..7260d7d66d --- /dev/null +++ b/pr-checks/checks/go-reconciled-tracing-custom-build-steps.yml @@ -0,0 +1,33 @@ +name: "Go: Reconciled tracing with custom build steps" +description: "Checks that reconciled Go tracing traces the build when using custom build steps" +env: + # Enable reconciled Go tracing beta functionality + CODEQL_ACTION_RECONCILE_GO_EXTRACTION: "true" +steps: + - uses: actions/setup-go@v3 + with: + go-version: "^1.13.1" + - uses: ./../action/init + with: + languages: go + tools: ${{ steps.prepare-test.outputs.tools-url }} + env: + TEST_MODE: true + - name: Build code + shell: bash + run: go build main.go + - uses: ./../action/analyze + env: + TEST_MODE: true + - shell: bash + run: | + if [[ -v CODEQL_ACTION_DID_AUTOBUILD_GOLANG ]]; then + echo "Expected the Go autobuilder not to be run, but the" \ + "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was set." + exit 1 + fi + cd "$RUNNER_TEMP/codeql_databases" + if [[ ! -d go ]]; then + echo "Did not find a Go database" + exit 1 + fi From 6699d474202edea11a00d00a5afddd09ffff1eab Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Sep 2022 16:49:39 +0100 Subject: [PATCH 21/44] Work around `test -v` not being available in Mac Bash --- .../workflows/__go-reconciled-tracing-custom-build-steps.yml | 5 ++++- .../checks/go-reconciled-tracing-custom-build-steps.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/__go-reconciled-tracing-custom-build-steps.yml b/.github/workflows/__go-reconciled-tracing-custom-build-steps.yml index cb4933cf51..c86b7e9e40 100644 --- a/.github/workflows/__go-reconciled-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-reconciled-tracing-custom-build-steps.yml @@ -93,7 +93,10 @@ jobs: TEST_MODE: true - shell: bash run: | - if [[ -v CODEQL_ACTION_DID_AUTOBUILD_GOLANG ]]; then + # Once we start running Bash 4.2 in all environments, we can replace the + # `! -z` flag with the more elegant `-v` which confirms that the variable + # is actually unset and not potentially set to a blank value. + if [[ ! -z "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" ]]; then echo "Expected the Go autobuilder not to be run, but the" \ "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was set." exit 1 diff --git a/pr-checks/checks/go-reconciled-tracing-custom-build-steps.yml b/pr-checks/checks/go-reconciled-tracing-custom-build-steps.yml index 7260d7d66d..3b088b12f6 100644 --- a/pr-checks/checks/go-reconciled-tracing-custom-build-steps.yml +++ b/pr-checks/checks/go-reconciled-tracing-custom-build-steps.yml @@ -21,7 +21,10 @@ steps: TEST_MODE: true - shell: bash run: | - if [[ -v CODEQL_ACTION_DID_AUTOBUILD_GOLANG ]]; then + # Once we start running Bash 4.2 in all environments, we can replace the + # `! -z` flag with the more elegant `-v` which confirms that the variable + # is actually unset and not potentially set to a blank value. + if [[ ! -z "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" ]]; then echo "Expected the Go autobuilder not to be run, but the" \ "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was set." exit 1 From ab396da8256c046f86f5da4bdedfa8142a9d59e6 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 1 Sep 2022 16:55:54 +0100 Subject: [PATCH 22/44] Run Lua tracing for Go on Windows in CLI 2.10.4+ A bug preventing us from using Lua tracing for Go on Windows is fixed in CLI 2.10.4+, so we can now resume using Lua tracing for Go on Windows when using these CLI versions. --- lib/codeql.js | 14 ++++++++------ lib/codeql.js.map | 2 +- src/codeql.ts | 19 +++++++++++-------- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index 67bdd2da4f..d5842118be 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -82,6 +82,7 @@ const CODEQL_VERSION_CUSTOM_QUERY_HELP = "2.7.1"; exports.CODEQL_VERSION_ML_POWERED_QUERIES = "2.7.5"; const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; exports.CODEQL_VERSION_CONFIG_FILES = "2.10.1"; +const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; /** * This variable controls using the new style of tracing from the CodeQL * CLI. In particular, with versions above this we will use both indirect @@ -502,12 +503,13 @@ async function getCodeQLForCmd(cmd, checkVersion) { } if (await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACER_CONFIG)) { if ((await featureFlags.getValue(feature_flags_1.FeatureFlag.LuaTracerConfigEnabled)) && - // There's a bug in Lua tracing for Go on Windows in versions 2.10.3 and earlier, - // so don't use Lua tracing when tracing Go on Windows. - // Once we've released a fix, we should add a version gate based on the fixed version. - !(config.languages.includes(languages_1.Language.go) && - (0, languages_1.isTracedLanguage)(languages_1.Language.go, logger) && - process.platform === "win32")) { + // There's a bug in Lua tracing for Go on Windows in versions earlier than + // `CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED`, so don't use Lua tracing + // when tracing Go on Windows on these CodeQL versions. + (!config.languages.includes(languages_1.Language.go) || + !(0, languages_1.isTracedLanguage)(languages_1.Language.go, logger) || + process.platform !== "win32" || + (await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED)))) { extraArgs.push("--internal-use-lua-tracing"); } else { diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 4f33d9dbc5..1448ec7190 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,sEAAuD;AACvD,8CAAgC;AAChC,gEAAsD;AACtD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAA6E;AAC7E,kDAAoC;AAEpC,0DAA4C,CAAC,2CAA2C;AACxF,mDAAgD;AAChD,mDAA4D;AAC5D,2CAAyD;AAEzD,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;AAC/B,iCAAuC;AAuBvC,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YAAY,GAAW,EAAE,IAAc,EAAE,QAAgB,EAAE,KAAa;QACtE,KAAK,CACH,oBAAoB,GAAG,mBAAmB,IAAI;kBAClC,QAAQ;QAClB,KAAK,EAAE,CACV,CAAC;IACJ,CAAC;CACF;AARD,wDAQC;AAiKD;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD,MAAM,qBAAqB,GAAG,QAAQ,CAAC,aAAa,CAAC;AACxC,QAAA,gCAAgC,GAAG,sBAAsB,CAAC;AAEvE;;;;;;;;GAQG;AACH,MAAM,sBAAsB,GAAG,OAAO,CAAC;AAEvC;;;;GAIG;AACH,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAC5C,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAC3C,MAAM,sBAAsB,GAAG,OAAO,CAAC;AACvC,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAC3C,M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AC,GAAQ;IAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/src/codeql.ts b/src/codeql.ts index 3ea2352940..fc35e49c47 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -251,6 +251,7 @@ const CODEQL_VERSION_CUSTOM_QUERY_HELP = "2.7.1"; export const CODEQL_VERSION_ML_POWERED_QUERIES = "2.7.5"; const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; export const CODEQL_VERSION_CONFIG_FILES = "2.10.1"; +const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; /** * This variable controls using the new style of tracing from the CodeQL @@ -795,14 +796,16 @@ async function getCodeQLForCmd( ) { if ( (await featureFlags.getValue(FeatureFlag.LuaTracerConfigEnabled)) && - // There's a bug in Lua tracing for Go on Windows in versions 2.10.3 and earlier, - // so don't use Lua tracing when tracing Go on Windows. - // Once we've released a fix, we should add a version gate based on the fixed version. - !( - config.languages.includes(Language.go) && - isTracedLanguage(Language.go, logger) && - process.platform === "win32" - ) + // There's a bug in Lua tracing for Go on Windows in versions earlier than + // `CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED`, so don't use Lua tracing + // when tracing Go on Windows on these CodeQL versions. + (!config.languages.includes(Language.go) || + !isTracedLanguage(Language.go, logger) || + process.platform !== "win32" || + (await util.codeQlVersionAbove( + this, + CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED + ))) ) { extraArgs.push("--internal-use-lua-tracing"); } else { From e9b47b18984822de5953cc848089d3b8de2cc67e Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Thu, 1 Sep 2022 16:07:26 -0700 Subject: [PATCH 23/44] Change to using a single input --- .github/workflows/__init-with-registries.yml | 10 +++- init/action.yml | 2 +- lib/analyze-action.js | 2 - lib/analyze-action.js.map | 2 +- lib/api-client.js | 2 - lib/api-client.js.map | 2 +- lib/config-utils.js | 34 +++++++++-- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 56 +++++++++---------- lib/config-utils.test.js.map | 2 +- lib/database-upload.test.js | 1 - lib/database-upload.test.js.map | 2 +- lib/feature-flags.test.js | 1 - lib/feature-flags.test.js.map | 2 +- lib/init-action.js | 3 +- lib/init-action.js.map | 2 +- lib/init.js | 4 +- lib/init.js.map | 2 +- lib/runner.js | 6 +- lib/runner.js.map | 2 +- lib/upload-sarif-action.js | 1 - lib/upload-sarif-action.js.map | 2 +- lib/util.test.js | 4 -- lib/util.test.js.map | 2 +- pr-checks/checks/init-with-registries.yml | 10 +++- src/analyze-action.ts | 3 - src/api-client.ts | 6 +- src/config-utils.test.ts | 46 +++++++++++---- src/config-utils.ts | 52 +++++++++++++---- src/database-upload.test.ts | 1 - src/feature-flags.test.ts | 1 - src/init-action.ts | 2 +- src/init.ts | 2 + src/runner.ts | 4 +- src/upload-sarif-action.ts | 1 - src/util.test.ts | 4 -- .../codeql/codeql-config-registries.yml | 5 -- 37 files changed, 173 insertions(+), 112 deletions(-) diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 517764328b..9243469a4b 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -65,7 +65,15 @@ jobs: tools: ${{ steps.prepare-test.outputs.tools-url }} config-file: ./.github/codeql/codeql-config-registries.yml languages: javascript - registries-auth-tokens: https://ghcr.io/v2/=${{ secrets.GITHUB_TOKEN }} + registries: | + [ + { + "url": "https://ghcr.io/v2/", + "packages": "*/*", + "token": "${{ secrets.GITHUB_TOKEN }}" + } + ] + env: TEST_MODE: true - name: Verify packages installed diff --git a/init/action.yml b/init/action.yml index 22c0c1ff1b..d028b388d0 100644 --- a/init/action.yml +++ b/init/action.yml @@ -13,7 +13,7 @@ inputs: description: GitHub token to use for authenticating with this instance of GitHub. To download custom packs from multiple registries, use registries-auth-tokens. default: ${{ github.token }} required: false - registries-auth-tokens: + registries: description: | Authenticate to GitHub Enterprise Server Container registries by passing a comma-separated list of = pairs. diff --git a/lib/analyze-action.js b/lib/analyze-action.js index f32a7e8789..9d06ffbade 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -95,8 +95,6 @@ async function run() { auth: actionsUtil.getRequiredInput("token"), url: util.getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: util.getRequiredEnvParam("GITHUB_API_URL"), - // not needed or available in the analize action - registriesAuthTokens: undefined, }; const outputDir = actionsUtil.getRequiredInput("output"); const threads = util.getThreadsFlag(actionsUtil.getOptionalInput("threads") || process.env["CODEQL_THREADS"], logger); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index a4d04c7cee..96b28763bd 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAqD;AACrD,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAA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M,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA2D;AAC3D,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAqD;AACrD,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GA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M,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;SAAM;QACL,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;KACH;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/api-client.js b/lib/api-client.js index 7332349adc..d3d72847aa 100644 --- a/lib/api-client.js +++ b/lib/api-client.js @@ -65,8 +65,6 @@ function getApiDetails() { auth: (0, actions_util_1.getRequiredInput)("token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), - // only available in the init action - registriesAuthTokens: (0, actions_util_1.getOptionalInput)("registries-auth-tokens"), }; } // Temporary function to aid in the transition to running on and off of github actions. diff --git a/lib/api-client.js.map b/lib/api-client.js.map index cc7d94fd29..8f9f9960a1 100644 --- a/lib/api-client.js.map +++ b/lib/api-client.js.map @@ -1 +1 @@ -{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,uEAAyD;AACzD,6DAA+C;AAC/C,0EAAgD;AAEhD,iDAAoE;AACpE,6CAA+B;AAC/B,iCAAqE;AAErE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OA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ACpD,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;AACxB,CAAC;AAED,SAAS,aAAa;IACpB,OAAO;QACL,IAAI,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC;QAC/B,GAAG,EAAE,IAAA,0BAAmB,EAAC,mBAAmB,CAAC;QAC7C,MAAM,EAAE,IAAA,0BAAmB,EAAC,gBAAgB,CAAC;QAE7C,oCAAoC;QACpC,oBAAoB,EAAE,IAAA,+BAAgB,EAAC,wBAAwB,CAAC;KACjE,CAAC;AACJ,CAAC;AAED,uFAAuF;AACvF,qFAAqF;AACrF,+CAA+C;AAC/C,SAAgB,mBAAmB;IACjC,OAAO,IAAA,oBAAY,EAAC,aAAa,EAAE,CAAC,CAAC;AACvC,CAAC;AAFD,kDAEC;AAED,IAAI,mBAAmB,GAA8B,SAAS,CAAC;AAE/D;;;;;;;GAOG;AACI,KAAK,UAAU,2BAA2B;IAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;IACD,IAAI,mBAAmB,KAAK,SAAS,EAAE;QACrC,mBAAmB,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAC;KACpE;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AARD,kEAQC"} \ No newline at end of file +{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,uEAAyD;AACzD,6DAA+C;AAC/C,0EAAgD;AAEhD,iDAAkD;AAClD,6CAA+B;AAC/B,iCAAqE;AAErE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,+FAAc,CAAA;IACd,+FAAc,CAAA;AAChB,CAAC,EAHW,0BAA0B,GA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B,GAAG,EAAE,IAAA,0BAAmB,EAAC,mBAAmB,CAAC;QAC7C,MAAM,EAAE,IAAA,0BAAmB,EAAC,gBAAgB,CAAC;KAC9C,CAAC;AACJ,CAAC;AAED,uFAAuF;AACvF,qFAAqF;AACrF,+CAA+C;AAC/C,SAAgB,mBAAmB;IACjC,OAAO,IAAA,oBAAY,EAAC,aAAa,EAAE,CAAC,CAAC;AACvC,CAAC;AAFD,kDAEC;AAED,IAAI,mBAAmB,GAA8B,SAAS,CAAC;AAE/D;;;;;;;GAOG;AACI,KAAK,UAAU,2BAA2B;IAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;IACD,IAAI,mBAAmB,KAAK,SAAS,EAAE;QACrC,mBAAmB,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAC;KACpE;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AARD,kEAQC"} \ No newline at end of file diff --git a/lib/config-utils.js b/lib/config-utils.js index 26e35c3dc5..16d240fcaf 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -883,7 +883,7 @@ function dbLocationOrDefault(dbLocation, tempDir) { * This will parse the config from the user input if present, or generate * a default config. The parsed config is then stored to a known location. */ -async function initConfig(languagesInput, queriesInput, packsInput, configFile, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeQL, workspacePath, gitHubVersion, apiDetails, featureFlags, logger) { +async function initConfig(languagesInput, queriesInput, packsInput, registriesInput, configFile, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeQL, workspacePath, gitHubVersion, apiDetails, featureFlags, logger) { var _a, _b, _c; let config; // If no config file was provided create an empty one @@ -909,13 +909,22 @@ async function initConfig(languagesInput, queriesInput, packsInput, configFile, // happen in the CLI during the `database init` command, so no need // to download them here. if (!(await (0, util_1.useCodeScanningConfigInCli)(codeQL))) { - await downloadPacks(codeQL, config.languages, config.packs, config.originalUserInput.registries, apiDetails, config.tempDir, logger); + const registries = parseRegistries(registriesInput); + await downloadPacks(codeQL, config.languages, config.packs, registries, apiDetails, config.tempDir, logger); } // Save the config so we can easily access it again in the future await saveConfig(config, logger); return config; } exports.initConfig = initConfig; +function parseRegistries(registriesInput) { + try { + return registriesInput ? JSON.parse(registriesInput) : undefined; + } + catch (e) { + throw new Error(`Invalid registries input. Must be a JSON string, but got: ${e instanceof Error ? e.message : String(e)}`); + } +} function isLocal(configPath) { // If the path starts with ./, look locally if (configPath.indexOf("./") === 0) { @@ -997,17 +1006,19 @@ async function getConfig(tempDir, logger) { exports.getConfig = getConfig; async function downloadPacks(codeQL, languages, packs, registries, apiDetails, tmpDir, logger) { let qlconfigFile; + let registriesAuthTokens; if (registries) { // generate a qlconfig.yml file to hold the registry configs. - const qlconfig = { - registries, - }; + const qlconfig = createRegistriesBlock(registries); qlconfigFile = path.join(tmpDir, "qlconfig.yml"); fs.writeFileSync(qlconfigFile, yaml.dump(qlconfig), "utf8"); + registriesAuthTokens = registries + .map((registry) => `${registry.url}=${registry.token}`) + .join(","); } await wrapEnvironment({ GITHUB_TOKEN: apiDetails.auth, - CODEQL_REGISTRIES_AUTH: apiDetails.registriesAuthTokens, + CODEQL_REGISTRIES_AUTH: registriesAuthTokens, }, async () => { let numPacksDownloaded = 0; logger.startGroup("Downloading packs"); @@ -1032,6 +1043,17 @@ async function downloadPacks(codeQL, languages, packs, registries, apiDetails, t }); } exports.downloadPacks = downloadPacks; +function createRegistriesBlock(registries) { + // be sure to remove the `token` field from the registry before writing it to disk. + const safeRegistries = registries.map((registry) => ({ + url: registry.url, + packages: registry.packages, + })); + const qlconfig = { + registries: safeRegistries, + }; + return qlconfig; +} async function wrapEnvironment(env, operation) { // Remember the original env const oldEnv = { ...process.env }; diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index 18a3e5be76..f55c0bf2d8 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAgN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,CACvE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAC9B,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,eAAe,CAAC,eAAqC;IAC5D,MAAM,kBAAkB,GAAG,eAAe,CAAC,kBAAkB,CAAC;IA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AAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAA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AAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index 06d905565a..c1044b4042 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -94,7 +94,7 @@ function mockListLanguages(languages) { return { packs: [] }; }, }); - const config = await configUtils.initConfig(languages, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), logger); + const config = await configUtils.initConfig(languages, undefined, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), logger); t.deepEqual(config, await configUtils.getDefaultConfig(languages, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), logger)); }); }); @@ -120,7 +120,7 @@ function mockListLanguages(languages) { t.false(fs.existsSync(configUtils.getPathToParsedConfigFile(tmpDir))); // Sanity check that getConfig returns undefined before we have called initConfig t.deepEqual(await configUtils.getConfig(tmpDir, logger), undefined); - const config1 = await configUtils.initConfig("javascript,python", undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), logger); + const config1 = await configUtils.initConfig("javascript,python", undefined, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), logger); // The saved config file should now exist t.true(fs.existsSync(configUtils.getPathToParsedConfigFile(tmpDir))); // And that same newly-initialised config should now be returned by getConfig @@ -136,7 +136,7 @@ function mockListLanguages(languages) { (0, ava_1.default)("load input outside of workspace", async (t) => { return await util.withTmpDir(async (tmpDir) => { try { - await configUtils.initConfig(undefined, undefined, undefined, "../input", undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(undefined, undefined, undefined, undefined, "../input", undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); throw new Error("initConfig did not throw error"); } catch (err) { @@ -149,7 +149,7 @@ function mockListLanguages(languages) { // no filename given, just a repo const configFile = "octo-org/codeql-config@main"; try { - await configUtils.initConfig(undefined, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(undefined, undefined, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); throw new Error("initConfig did not throw error"); } catch (err) { @@ -163,7 +163,7 @@ function mockListLanguages(languages) { const configFile = "input"; t.false(fs.existsSync(path.join(tmpDir, configFile))); try { - await configUtils.initConfig(languages, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(languages, undefined, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); throw new Error("initConfig did not throw error"); } catch (err) { @@ -239,7 +239,7 @@ function mockListLanguages(languages) { }; const languages = "javascript"; const configFilePath = createConfigFile(inputFileContents, tmpDir); - const actualConfig = await configUtils.initConfig(languages, undefined, undefined, configFilePath, undefined, false, false, "my-artifact", "my-db", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + const actualConfig = await configUtils.initConfig(languages, undefined, undefined, undefined, configFilePath, undefined, false, false, "my-artifact", "my-db", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); // Should exactly equal the object we constructed earlier t.deepEqual(actualConfig, expectedConfig); }); @@ -278,7 +278,7 @@ function mockListLanguages(languages) { fs.mkdirSync(path.join(tmpDir, "foo")); const languages = "javascript"; const configFilePath = createConfigFile(inputFileContents, tmpDir); - await configUtils.initConfig(languages, undefined, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(languages, undefined, undefined, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); // Check resolve queries was called correctly t.deepEqual(resolveQueriesArgs.length, 1); t.deepEqual(resolveQueriesArgs[0].queries, [ @@ -324,7 +324,7 @@ function queriesToResolvedQueryForm(queries) { }, }); const languages = "javascript"; - const config = await configUtils.initConfig(languages, undefined, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + const config = await configUtils.initConfig(languages, undefined, undefined, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); // Check resolveQueries was called correctly // It'll be called once for the default queries // and once for `./foo` from the config file. @@ -360,7 +360,7 @@ function queriesToResolvedQueryForm(queries) { }, }); const languages = "javascript"; - const config = await configUtils.initConfig(languages, testQueries, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + const config = await configUtils.initConfig(languages, testQueries, undefined, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); // Check resolveQueries was called correctly // It'll be called once for the default queries and once for `./override`, // but won't be called for './foo' from the config file. @@ -395,7 +395,7 @@ function queriesToResolvedQueryForm(queries) { }, }); const languages = "javascript"; - const config = await configUtils.initConfig(languages, testQueries, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + const config = await configUtils.initConfig(languages, testQueries, undefined, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); // Check resolveQueries was called correctly // It'll be called once for `./workflow-query`, // but won't be called for the default one since that was disabled @@ -424,7 +424,7 @@ function queriesToResolvedQueryForm(queries) { }, }); const languages = "javascript"; - const config = await configUtils.initConfig(languages, testQueries, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + const config = await configUtils.initConfig(languages, testQueries, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); // Check resolveQueries was called correctly: // It'll be called once for the default queries, // and then once for each of the two queries from the workflow @@ -466,7 +466,7 @@ function queriesToResolvedQueryForm(queries) { }, }); const languages = "javascript"; - const config = await configUtils.initConfig(languages, testQueries, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + const config = await configUtils.initConfig(languages, testQueries, undefined, undefined, configFilePath, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); // Check resolveQueries was called correctly // It'll be called once for the default queries, // once for each of additional1 and additional2, @@ -508,7 +508,7 @@ function queriesToResolvedQueryForm(queries) { }, }); try { - await configUtils.initConfig(languages, queries, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(languages, queries, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); t.fail("initConfig did not throw error"); } catch (err) { @@ -554,7 +554,7 @@ function queriesToResolvedQueryForm(queries) { fs.mkdirSync(path.join(tmpDir, "foo/bar/dev"), { recursive: true }); const configFile = "octo-org/codeql-config/config.yaml@main"; const languages = "javascript"; - await configUtils.initConfig(languages, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(languages, undefined, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); t.assert(spyGetContents.called); }); }); @@ -564,7 +564,7 @@ function queriesToResolvedQueryForm(queries) { mockGetContents(dummyResponse); const repoReference = "octo-org/codeql-config/config.yaml@main"; try { - await configUtils.initConfig(undefined, undefined, undefined, repoReference, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(undefined, undefined, undefined, undefined, repoReference, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); throw new Error("initConfig did not throw error"); } catch (err) { @@ -580,7 +580,7 @@ function queriesToResolvedQueryForm(queries) { mockGetContents(dummyResponse); const repoReference = "octo-org/codeql-config/config.yaml@main"; try { - await configUtils.initConfig(undefined, undefined, undefined, repoReference, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(undefined, undefined, undefined, undefined, repoReference, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); throw new Error("initConfig did not throw error"); } catch (err) { @@ -600,7 +600,7 @@ function queriesToResolvedQueryForm(queries) { }, }); try { - await configUtils.initConfig(undefined, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(undefined, undefined, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); throw new Error("initConfig did not throw error"); } catch (err) { @@ -612,7 +612,7 @@ function queriesToResolvedQueryForm(queries) { return await util.withTmpDir(async (tmpDir) => { const languages = "rubbish,english"; try { - await configUtils.initConfig(languages, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(languages, undefined, undefined, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, (0, codeql_1.getCachedCodeQL)(), tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); throw new Error("initConfig did not throw error"); } catch (err) { @@ -643,7 +643,7 @@ function queriesToResolvedQueryForm(queries) { const configFile = path.join(tmpDir, "codeql-config.yaml"); fs.writeFileSync(configFile, inputFileContents); const languages = "javascript"; - const { packs } = await configUtils.initConfig(languages, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + const { packs } = await configUtils.initConfig(languages, undefined, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); t.deepEqual(packs, { [languages_1.Language.javascript]: ["a/b@1.2.3"], }); @@ -680,7 +680,7 @@ function queriesToResolvedQueryForm(queries) { fs.writeFileSync(configFile, inputFileContents); fs.mkdirSync(path.join(tmpDir, "foo")); const languages = "javascript,python,cpp"; - const { packs, queries } = await configUtils.initConfig(languages, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example" }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + const { packs, queries } = await configUtils.initConfig(languages, undefined, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example" }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); t.deepEqual(packs, { [languages_1.Language.javascript]: ["a/b@1.2.3"], [languages_1.Language.python]: ["c/d@1.2.3"], @@ -726,7 +726,7 @@ function doInvalidInputTest(testName, inputFileContents, expectedErrorMessageGen const inputFile = path.join(tmpDir, configFile); fs.writeFileSync(inputFile, inputFileContents, "utf8"); try { - await configUtils.initConfig(languages, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); + await configUtils.initConfig(languages, undefined, undefined, undefined, configFile, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); throw new Error("initConfig did not throw error"); } catch (err) { @@ -987,7 +987,7 @@ const mlPoweredQueriesMacro = ava_1.default.macro({ return { packs: [] }; }, }); - const { packs } = await configUtils.initConfig("javascript", queriesInput, packsInput, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)(isMlPoweredQueriesFlagEnabled + const { packs } = await configUtils.initConfig("javascript", queriesInput, packsInput, undefined, undefined, undefined, false, false, "", "", { owner: "github", repo: "example " }, tmpDir, codeQL, tmpDir, gitHubVersion, sampleApiDetails, (0, feature_flags_1.createFeatureFlags)(isMlPoweredQueriesFlagEnabled ? [feature_flags_1.FeatureFlag.MlPoweredQueriesEnabled] : []), (0, logging_1.getRunnerLogger)(true)); if (expectedVersionString !== undefined) { @@ -1119,18 +1119,16 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ process.env.GITHUB_TOKEN = "not-a-token"; process.env.CODEQL_REGISTRIES_AUTH = "not-a-registries-auth"; const logger = (0, logging_1.getRunnerLogger)(true); - const apiDetails = { - ...sampleApiDetails, - registriesAuthTokens: "registries-auth", - }; const registries = [ { url: "http://ghcr.io", packages: ["codeql/*", "dsp-testing/*"], + token: "not-a-token", }, { url: "https://containers.GHEHOSTNAME1/v2/", packages: "semmle/*", + token: "still-a-token", }, ]; const expectedConfigFile = path.join(tmpDir, "qlconfig.yml"); @@ -1139,10 +1137,10 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ t.deepEqual(configFile, expectedConfigFile); // verify the env vars were set correctly t.deepEqual(process.env.GITHUB_TOKEN, "token"); - t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "registries-auth"); + t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-a-token"); // verify the config file contents were set correctly const config = yaml.load(fs.readFileSync(configFile, "utf8")); - t.deepEqual(config.registries, registries); + t.deepEqual(config.registries, registries.map((r) => ({ url: r.url, packages: r.packages }))); return { packs, }; @@ -1156,7 +1154,7 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ java: ["a", "b"], go: ["c", "d"], python: ["e", "f"], - }, registries, apiDetails, tmpDir, logger); + }, registries, sampleApiDetails, tmpDir, logger); // Same packs are downloaded as in previous test t.deepEqual(packDownloadStub.callCount, 2); t.deepEqual(packDownloadStub.firstCall.args, [ diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index 4a707bbce5..c74f36fbb3 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,u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C;QACvC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;QACrD,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC5D,OAAO,cAAc,CAAC;AACxB,CAAC;AAID,SAAS,eAAe,CACtB,OAA4B;IAE5B,kEAAkE;IAClE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG;QAC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CAAC,CAAC,CAAC;QAEH,MAAM,MAAM,GAAG,IAAA,kBAAS,EAAC;YACvB,YAAY,EAAE,gBAAgB;SAC/B,CAAC,CAAC;QAEH,8CAA8C;QAC9C,sDAAsD;QACtD,MAAM,WAAW,CAAC,aAAa,CAC7B,MAAM,EACN,CAAC,oBAAQ,CAAC,UAAU,EAAE,oBAAQ,CAAC,IAAI,EAAE,oBAAQ,CAAC,MAAM,CAAC,EACrD;YACE,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YAChB,EAAE,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YACd,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;SACnB,EACD,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,MAAM,CACP,CAAC;QAEF,gDAAgD;QAChD,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,EAAE;YAC3C,CAAC,GAAG,EAAE,GAAG,CAAC;YACV,kBAAkB;SACnB,CAAC,CAAC;QACH,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,EAAE;YAC5C,CAAC,GAAG,EAAE,GAAG,CAAC;YACV,kBAAkB;SACnB,CAAC,CAAC;QAEH,uCAAuC;QACvC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;QACrD,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/database-upload.test.js b/lib/database-upload.test.js index 6c594a127e..ff8a89f0bc 100644 --- a/lib/database-upload.test.js +++ b/lib/database-upload.test.js @@ -43,7 +43,6 @@ const testApiDetails = { auth: "1234", url: "https://github.com", apiURL: undefined, - registriesAuthTokens: undefined, }; function getTestConfig(tmpDir) { return { diff --git a/lib/database-upload.test.js.map b/lib/database-upload.test.js.map index 092b3532cc..19193a8839 100644 --- a/lib/database-upload.test.js.map +++ b/lib/database-upload.test.js.map @@ -1 +1 @@ -{"version":3,"file":"database-upload.test.js","sourceRoot":"","sources":["../src/database-upload.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,wDAA0C;AAC1C,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAE9C,wDAA0C;AAC1C,qCAAqC;AACrC,iDAAuE;AACvE,uDAAoD;AACpD,2CAAuC;AAEvC,mDAKyB;AACzB,iCAQgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAkB,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AACzE,MAAM,cAAc,GAAqB;IACvC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO;QACL,SAAS,EAAE,CAAC,oBAAQ,CAAC,UAAU,CAAC;QAChC,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,EAAE;QACT,iBAAiB,EAAE,EAAE;QACrB,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,MAAM,EAAE;QAC7C,UAAU,EAAE,MAAM;QAClB,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,KAAK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K,OAAO;YAClB,CAAC,CAAC,OAAO,KAAK,+CAA+C,CAChE,KAAK,SAAS,CAChB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,yDAAyD,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC1E,MAAM,IAAA,iBAAU,EAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAChC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,KAAK;aACF,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC;aACrC,QAAQ,CAAC,iBAAiB,CAAC;aAC3B,OAAO,CAAC,MAAM,CAAC,CAAC;QACnB,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,0BAA0B,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAEnE,MAAM,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAE5B,IAAA,kBAAS,EAAC;YACR,KAAK,CAAC,cAAc,CAAC,CAAS,EAAE,cAAsB;gBACpD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;YACvC,CAAC;SACF,CAAC,CAAC;QAEH,MAAM,cAAc,GAAG,EAAqB,CAAC;QAC7C,MAAM,IAAA,iCAAe,EACnB,YAAY,EACZ,aAAa,CAAC,MAAM,CAAC,EACrB,cAAc,EACd,IAAA,kCAAkB,EAAC,cAAc,CAAC,CACnC,CAAC;QACF,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,IAAI,KAAK,OAAO;YAClB,CAAC,CAAC,OAAO,KAAK,+CAA+C,CAChE,KAAK,SAAS,CAChB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"database-upload.test.js","sourceRoot":"","sources":["../src/database-upload.test.ts"],"names":[],"mappings":";;;;;;;;;;;;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E,MAAM,CAAC,CAAC;QACjC,KAAK;aACF,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC;aACrC,QAAQ,CAAC,iBAAiB,CAAC;aAC3B,OAAO,CAAC,MAAM,CAAC,CAAC;QACnB,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,0BAA0B,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAEnE,MAAM,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAE5B,IAAA,kBAAS,EAAC;YACR,KAAK,CAAC,cAAc,CAAC,CAAS,EAAE,cAAsB;gBACpD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;YACvC,CAAC;SACF,CAAC,CAAC;QAEH,MAAM,cAAc,GAAG,EAAqB,CAAC;QAC7C,MAAM,IAAA,iCAAe,EACnB,YAAY,EACZ,aAAa,CAAC,MAAM,CAAC,EACrB,cAAc,EACd,IAAA,kCAAkB,EAAC,cAAc,CAAC,CACnC,CAAC;QACF,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,IAAI,KAAK,OAAO;YAClB,CAAC,CAAC,OAAO,KAAK,+CAA+C,CAChE,KAAK,SAAS,CAChB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.test.js b/lib/feature-flags.test.js index b27d706d32..31ef1dbfc3 100644 --- a/lib/feature-flags.test.js +++ b/lib/feature-flags.test.js @@ -17,7 +17,6 @@ const testApiDetails = { auth: "1234", url: "https://github.com", apiURL: undefined, - registriesAuthTokens: undefined, }; const testRepositoryNwo = (0, repository_1.parseRepositoryNwo)("github/example"); const ALL_FEATURE_FLAGS_DISABLED_VARIANTS = [ diff --git a/lib/feature-flags.test.js.map b/lib/feature-flags.test.js.map index 35f8f7abd8..ec4b88ea92 100644 --- a/lib/feature-flags.test.js.map +++ b/lib/feature-flags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AAM,kBAAkB,GAAgC;gBACtD,0BAA0B,EAAE,MAAM,YAAY,CAAC,QAAQ,CACrD,2BAAW,CAAC,uBAAuB,CACpC;gBACD,yBAAyB,EAAE,MAAM,YAAY,CAAC,QAAQ,CACpD,2BAAW,CAAC,sBAAsB,CACnC;aACF,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"feature-flags.test.js","sourceRoot":"","sources":["../src/feature-flags.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AAGvB,mDAAkE;AAClE,uCAA4C;AAC5C,6CAAkD;AAClD,mDAMyB;AAEzB,iCAAgF;AAEhF,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAqB;IACvC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,iBAAiB,GAAG,IAAA,+BAAkB,EAAC,gBAAgB,CAAC,CAAC;AAE/D,MAAM,mCAAmC,GAGpC;IACH;QACE,WAAW,EAAE,MAAM;QACnB,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE;KAC9D;IACD,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,IAAI,EAAE,EAAE;CACrE,CAAC;AAEF,KAAK,MAAM,OAAO,IAAI,mCAAmC,EAAE;IACzD,IAAA,aAAI,EAAC,qDAAqD,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,CAAC,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C,CACtB,CAAC;YAEF,MAAM,oBAAoB,GAAgC,EAAE,CAAC;YAC7D,KAAK,MAAM,CAAC,IAAI,aAAa,EAAE;gBAC7B,oBAAoB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;aACjC;YACD,oBAAoB,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;YACzC,IAAA,0CAA0B,EAAC,GAAG,EAAE,oBAAoB,CAAC,CAAC;YAEtD,MAAM,kBAAkB,GAAgC;gBACtD,0BAA0B,EAAE,MAAM,YAAY,CAAC,QAAQ,CACrD,2BAAW,CAAC,uBAAuB,CACpC;gBACD,yBAAyB,EAAE,MAAM,YAAY,CAAC,QAAQ,CACpD,2BAAW,CAAC,sBAAsB,CACnC;aACF,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index bb95a93c8e..4296b19889 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -84,7 +84,6 @@ async function run() { externalRepoAuth: (0, actions_util_1.getOptionalInput)("external-repository-token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), - registriesAuthTokens: (0, actions_util_1.getOptionalInput)("registries-auth-tokens"), }; const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger, util_1.Mode.actions); @@ -99,7 +98,7 @@ async function run() { codeql = initCodeQLResult.codeql; 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"), await getTrapCachingEnabled(featureFlags), + 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)("registries"), (0, actions_util_1.getOptionalInput)("config-file"), (0, actions_util_1.getOptionalInput)("db-location"), await getTrapCachingEnabled(featureFlags), // Debug mode is enabled if: // - The `init` Action is passed `debug: true`. // - Actions step debugging is enabled (e.g. by [enabling debug logging for a rerun](https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-all-the-jobs-in-a-workflow), diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 78470b769b..5e26cb9119 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,oDAAsC;AAEtC,iDASwB;AACxB,6CAA2D;AAC3D,qCAA8D;AAE9D,mDAAgF;AAChF,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAmD;AACnD,iCAagB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AA+BvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,MAA0B,EAC1B,YAAoB,EACpB,MAAc;;IAEd,MAAM,gBAAgB,GAAG,MAAM,IAAA,qCAAsB,EACnD,MAAM,EACN,SAAS,EACT,SAAS,CACV,CAAC;IAEF,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC7C,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IACxD,MAAM,KAAK,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,IAAI,EAAE,C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AS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAE9B,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,IAAA,+BAAgB,EACpB,MAAM,IAAA,qCAAsB,EAC1B,MAAM,EACN,IAAA,+BAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,CAAC,KAAK,CAAC,EACb,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CACjD,CACF,CAAC;QACF,OAAO;KACR;IACD,MAAM,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,qBAAqB,CAClC,YAA0B;IAE1B,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAC7D,OAAO,MAAM,YAAY,CAAC,QAAQ,CAAC,2BAAW,CAAC,kBAAkB,CAAC,CAAC;AACrE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,uBAAuB,KAAK,EAAE,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,oDAAsC;AAEtC,iDASwB;AACxB,6CAA2D;AAC3D,qCAA8D;AAE9D,mDAAgF;AAChF,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAmD;AACnD,iCAagB;AAE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KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,uBAAuB,KAAK,EAAE,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/init.js b/lib/init.js index bcfc157977..fa82e80111 100644 --- a/lib/init.js +++ b/lib/init.js @@ -38,9 +38,9 @@ async function initCodeQL(codeqlURL, apiDetails, tempDir, variant, featureFlags, return { codeql, toolsVersion }; } exports.initCodeQL = initCodeQL; -async function initConfig(languagesInput, queriesInput, packsInput, configFile, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeQL, workspacePath, gitHubVersion, apiDetails, featureFlags, logger) { +async function initConfig(languagesInput, queriesInput, packsInput, registriesInput, configFile, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeQL, workspacePath, gitHubVersion, apiDetails, featureFlags, logger) { logger.startGroup("Load language configuration"); - const config = await configUtils.initConfig(languagesInput, queriesInput, packsInput, configFile, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeQL, workspacePath, gitHubVersion, apiDetails, featureFlags, logger); + const config = await configUtils.initConfig(languagesInput, queriesInput, packsInput, registriesInput, configFile, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeQL, workspacePath, gitHubVersion, apiDetails, featureFlags, logger); analysisPaths.printPathFiltersWarning(config, logger); logger.endGroup(); return config; diff --git a/lib/init.js.map b/lib/init.js.map index b4722a20b1..4bbc63dcd3 100644 --- a/lib/init.js.map +++ b/lib/init.js.map @@ -1 +1 @@ -{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,kEAAoD;AAEpD,gEAAkD;A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M,CAAC,OAAO,CACZ,gFAAgF,CAAC,IAAI;YACnF,qGAAqG;YACrG,oGAAoG;YACpG,iDAAiD,CACpD,CAAC;QACF,OAAO;KACR;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAzCD,8CAyCC"} \ No newline at end of file +{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,kEAAoD;AAEpD,gEAAkD;AAElD,qCAA2E;AAC3E,4DAA8C;AAI9C,mDAAwE;AACxE,6CAA+B;AAC/B,iCAA4C;AAErC,KAAK,UAAU,UAAU,CAC9B,SAA6B,EAC7B,UAA4B,EAC5B,OAAe,EACf,OAA2B,EAC3B,YAA0B,EAC1B,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACxC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,IAAA,oBAAW,EAChD,SAAS,EACT,UAAU,EACV,OAAO,EACP,OAAO,EACP,YAAY,EACZ,MAAM,EACN,IAAI,CACL,CAAC;IACF,MAAM,MAAM,CAAC,YAAY,EAAE,CAAC;IAC5B,MAAM,CAAC,QAAQ,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;AAClC,CAAC;AArBD,gCAqBC;AAEM,KAAK,UAAU,UAAU,CAC9B,cAAkC,EAClC,YAAgC,EAChC,UAA8B,EAC9B,eAAmC,EACnC,UAA8B,EAC9B,UAA8B,EAC9B,kBAA2B,EAC3B,SAAkB,EAClB,iBAAyB,EACzB,iBAAyB,EACzB,UAAyB,EACzB,OAAe,EACf,MAAc,EACd,aAAqB,EACrB,aAAiC,EACjC,UAAoC,EACpC,YAA0B,EAC1B,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC;IACjD,MAAM,MAAM,GAAG,M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,CAAC,IAAI,EAAE,CAAC;SACX;aAAM;YACL,MAAM,IAAI,UAAU,CAAC,UAAU,CAAC,MAAM,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE;gBACpE,IAAI;gBACJ,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC;gBAChC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;aAC/B,CAAC,CAAC,IAAI,EAAE,CAAC;SACX;KACF;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClB,MAAM,CAAC,OAAO,CACZ,gFAAgF,CAAC,IAAI;YACnF,qGAAqG;YACrG,oGAAoG;YACpG,iDAAiD,CACpD,CAAC;QACF,OAAO;KACR;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAzCD,8CAyCC"} \ No newline at end of file diff --git a/lib/runner.js b/lib/runner.js index 499506c3d7..86612f98c4 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -137,7 +137,6 @@ program externalRepoAuth: auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), apiURL: undefined, - registriesAuthTokens: undefined, }; const gitHubVersion = await (0, util_1.getGitHubVersion)(apiDetails); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger, util_1.Mode.runner); @@ -157,7 +156,8 @@ program } await (0, util_1.enrichEnvironment)(util_1.Mode.runner, codeql); const workspacePath = checkoutPath; - const config = await (0, init_1.initConfig)(cmd.languages, cmd.queries, cmd.packs, cmd.configFile, undefined, false, false, "", "", (0, repository_1.parseRepositoryNwo)(cmd.repository), tempDir, codeql, workspacePath, gitHubVersion, apiDetails, (0, feature_flags_1.createFeatureFlags)([]), logger); + const config = await (0, init_1.initConfig)(cmd.languages, cmd.queries, cmd.packs, undefined, // we won't support registries in the runner + cmd.configFile, undefined, false, false, "", "", (0, repository_1.parseRepositoryNwo)(cmd.repository), tempDir, codeql, workspacePath, gitHubVersion, apiDetails, (0, feature_flags_1.createFeatureFlags)([]), logger); const sourceRoot = checkoutPath; const tracerConfig = await (0, init_1.runInit)(codeql, config, sourceRoot, parseTraceProcessName(), parseTraceProcessLevel(), (0, feature_flags_1.createFeatureFlags)([]), logger); if (tracerConfig === undefined) { @@ -280,7 +280,6 @@ program auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), apiURL: undefined, - registriesAuthTokens: undefined, }; const outputDir = cmd.outputDir || path.join(config.tempDir, "codeql-sarif"); let initEnv = {}; @@ -327,7 +326,6 @@ program auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), apiURL: undefined, - registriesAuthTokens: undefined, }; try { const gitHubVersion = await (0, util_1.getGitHubVersion)(apiDetails); diff --git a/lib/runner.js.map b/lib/runner.js.map index a9eae7ca2f..2bcfa90d5a 100644 --- a/lib/runner.js.map +++ b/lib/runner.js.map @@ -1 +1 @@ -{"version":3,"file":"runner.js","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yCAAoC;AACpC,8CAAsB;AAEtB,uCAAoD;AACpD,2CAAuE;AACvE,qCAAyE;AACzE,iDAAmD;AACnD,mDAAqD;AACrD,iCAA8E;AAC9E,2CAAsD;AACtD,uCAA4C;AAC5C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAcgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAC9B,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE;IAClD,IAAA,4BAAqB,EAAC,WAAI,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH,SAAS,UAAU,CAAC,SAA6B;IAC/C,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OAAO,CAAC,EAAE;QACV,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAC9B,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5D,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;KACtB;AACH,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js index e03242607a..869f33998d 100644 --- a/lib/upload-sarif-action.js +++ b/lib/upload-sarif-action.js @@ -48,7 +48,6 @@ async function run() { auth: actionsUtil.getRequiredInput("token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), - registriesAuthTokens: undefined, }; const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); const uploadResult = await upload_lib.uploadFromActions(actionsUtil.getRequiredInput("sarif_file"), gitHubVersion, apiDetails, (0, logging_1.getActionsLogger)()); diff --git a/lib/upload-sarif-action.js.map b/lib/upload-sarif-action.js.map index 3ef50b5186..3ed21f8a58 100644 --- a/lib/upload-sarif-action.js.map +++ b/lib/upload-sarif-action.js.map @@ -1 +1 @@ -{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAA2D;AAC3D,uCAA6C;AAC7C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAMvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,WAA0C;IAE1C,MAA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AAM,IAAI,WAAW,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,KAAK,MAAM,EAAE;YACzE,MAAM,UAAU,CAAC,iBAAiB,CAChC,IAAA,+BAAkB,EAAC,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,CAAC,EAC5D,YAAY,CAAC,OAAO,EACpB,UAAU,EACV,IAAA,0BAAgB,GAAE,CACnB,CAAC;SACH;QACD,MAAM,uBAAuB,CAAC,SAAS,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;KACrE;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvE,MAAM,KAAK,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,WAAW,CAAC,gBAAgB,CAChC,MAAM,WAAW,CAAC,sBAAsB,CACtC,cAAc,EACd,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,EACnC,SAAS,EACT,OAAO,EACP,KAAK,CACN,CACF,CAAC;QACF,OAAO;KACR;AACH,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,sCAAsC,KAAK,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;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C,SAAS,CAAC,sCAAsC,KAAK,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/util.test.js b/lib/util.test.js index 0a18c7a43e..d3e85b15b7 100644 --- a/lib/util.test.js +++ b/lib/util.test.js @@ -156,7 +156,6 @@ function mockGetMetaVersionHeader(versionHeader) { auth: "", url: "https://github.com", apiURL: undefined, - registriesAuthTokens: undefined, }); t.deepEqual(util.GitHubVariant.DOTCOM, v.type); mockGetMetaVersionHeader("2.0"); @@ -164,7 +163,6 @@ function mockGetMetaVersionHeader(versionHeader) { auth: "", url: "https://ghe.example.com", apiURL: undefined, - registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHES, version: "2.0" }, v2); mockGetMetaVersionHeader("GitHub AE"); @@ -172,7 +170,6 @@ function mockGetMetaVersionHeader(versionHeader) { auth: "", url: "https://example.githubenterprise.com", apiURL: undefined, - registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHAE }, ghae); mockGetMetaVersionHeader(undefined); @@ -180,7 +177,6 @@ function mockGetMetaVersionHeader(versionHeader) { auth: "", url: "https://ghe.example.com", apiURL: undefined, - registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.DOTCOM }, v3); }); diff --git a/lib/util.test.js.map b/lib/util.test.js.map index 473007d423..81ab579f66 100644 --- a/lib/util.test.js.map +++ b/lib/util.test.js.map @@ -1 +1 @@ -{"version":3,"file":"util.test.js","sourceRoot":"","sources":["../src/util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,gDAAwB;AACxB,+CAAiC;AAEjC,oDAAsC;AACtC,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AAEpC,uCAAoD;AACpD,mDAA6C;AAC7C,6CA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AC,KAAK,EAAE,MAAc,EAAE,EAAE;QAC7C,MAAM,SAAS,GAAG,EAAE,CAAC,WAAW,CAAC,cAAI,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;QAC/D,EAAE,CAAC,aAAa,CAAC,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,sBAAsB,CAAC,EAAE,EAAE,CAAC,CAAC;QACtE,EAAE,CAAC,aAAa,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAE,EAAE,CAAC,CAAC;QAC9D,EAAE,CAAC,aAAa,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAE,EAAE,CAAC,CAAC;QAC9D,EAAE,CAAC,aAAa,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAAE,EAAE,CAAC,CAAC;QAE9D,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;YACnC,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,sBAAsB,CAAC;YAC/C,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC;YACvC,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC;YACvC,cAAI,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC;SACxC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/pr-checks/checks/init-with-registries.yml b/pr-checks/checks/init-with-registries.yml index e1e7c00fe0..e93136f10e 100644 --- a/pr-checks/checks/init-with-registries.yml +++ b/pr-checks/checks/init-with-registries.yml @@ -14,7 +14,15 @@ steps: tools: ${{ steps.prepare-test.outputs.tools-url }} config-file: ./.github/codeql/codeql-config-registries.yml languages: javascript - registries-auth-tokens: https://ghcr.io/v2/=${{ secrets.GITHUB_TOKEN }} + registries: | + [ + { + "url": "https://ghcr.io/v2/", + "packages": "*/*", + "token": "${{ secrets.GITHUB_TOKEN }}" + } + ] + env: TEST_MODE: true - name: Verify packages installed diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 24c20f333b..74d71b6df4 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -143,9 +143,6 @@ async function run() { auth: actionsUtil.getRequiredInput("token"), url: util.getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: util.getRequiredEnvParam("GITHUB_API_URL"), - - // not needed or available in the analize action - registriesAuthTokens: undefined, }; const outputDir = actionsUtil.getRequiredInput("output"); const threads = util.getThreadsFlag( diff --git a/src/api-client.ts b/src/api-client.ts index 6ba22cf72b..59cfa764a0 100644 --- a/src/api-client.ts +++ b/src/api-client.ts @@ -4,7 +4,7 @@ import * as githubUtils from "@actions/github/lib/utils"; import * as retry from "@octokit/plugin-retry"; import consoleLogLevel from "console-log-level"; -import { getOptionalInput, getRequiredInput } from "./actions-util"; +import { getRequiredInput } from "./actions-util"; import * as util from "./util"; import { getMode, getRequiredEnvParam, GitHubVersion } from "./util"; @@ -23,7 +23,6 @@ export interface GitHubApiDetails { auth: string; url: string; apiURL: string | undefined; - registriesAuthTokens: string | undefined; } export interface GitHubApiExternalRepoDetails { @@ -69,9 +68,6 @@ function getApiDetails() { auth: getRequiredInput("token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: getRequiredEnvParam("GITHUB_API_URL"), - - // only available in the init action - registriesAuthTokens: getOptionalInput("registries-auth-tokens"), }; } diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 9d522e3f5c..6ca1414e0e 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -91,6 +91,7 @@ test("load empty config", async (t) => { undefined, undefined, undefined, + undefined, false, false, "", @@ -161,6 +162,7 @@ test("loading config saves config", async (t) => { undefined, undefined, undefined, + undefined, false, false, "", @@ -196,6 +198,7 @@ test("load input outside of workspace", async (t) => { undefined, undefined, undefined, + undefined, "../input", undefined, false, @@ -235,6 +238,7 @@ test("load non-local input with invalid repo syntax", async (t) => { undefined, undefined, undefined, + undefined, configFile, undefined, false, @@ -275,6 +279,7 @@ test("load non-existent input", async (t) => { languages, undefined, undefined, + undefined, configFile, undefined, false, @@ -381,6 +386,7 @@ test("load non-empty input", async (t) => { languages, undefined, undefined, + undefined, configFilePath, undefined, false, @@ -451,6 +457,7 @@ test("Default queries are used", async (t) => { languages, undefined, undefined, + undefined, configFilePath, undefined, false, @@ -529,6 +536,7 @@ test("Queries can be specified in config file", async (t) => { languages, undefined, undefined, + undefined, configFilePath, undefined, false, @@ -606,6 +614,7 @@ test("Queries from config file can be overridden in workflow file", async (t) => languages, testQueries, undefined, + undefined, configFilePath, undefined, false, @@ -681,6 +690,7 @@ test("Queries in workflow file can be used in tandem with the 'disable default q languages, testQueries, undefined, + undefined, configFilePath, undefined, false, @@ -749,6 +759,7 @@ test("Multiple queries can be specified in workflow file, no config file require undefined, undefined, undefined, + undefined, false, false, "", @@ -834,6 +845,7 @@ test("Queries in workflow file can be added to the set of queries without overri languages, testQueries, undefined, + undefined, configFilePath, undefined, false, @@ -917,6 +929,7 @@ test("Invalid queries in workflow file handled correctly", async (t) => { undefined, undefined, undefined, + undefined, false, false, "", @@ -986,6 +999,7 @@ test("API client used when reading remote config", async (t) => { languages, undefined, undefined, + undefined, configFile, undefined, false, @@ -1016,6 +1030,7 @@ test("Remote config handles the case where a directory is provided", async (t) = undefined, undefined, undefined, + undefined, repoReference, undefined, false, @@ -1054,6 +1069,7 @@ test("Invalid format of remote config handled correctly", async (t) => { undefined, undefined, undefined, + undefined, repoReference, undefined, false, @@ -1098,6 +1114,7 @@ test("No detected languages", async (t) => { undefined, undefined, undefined, + undefined, false, false, "", @@ -1129,6 +1146,7 @@ test("Unknown languages", async (t) => { undefined, undefined, undefined, + undefined, false, false, "", @@ -1183,6 +1201,7 @@ test("Config specifies packages", async (t) => { languages, undefined, undefined, + undefined, configFile, undefined, false, @@ -1243,6 +1262,7 @@ test("Config specifies packages for multiple languages", async (t) => { languages, undefined, undefined, + undefined, configFile, undefined, false, @@ -1314,6 +1334,7 @@ function doInvalidInputTest( languages, undefined, undefined, + undefined, configFile, undefined, false, @@ -1903,6 +1924,7 @@ const mlPoweredQueriesMacro = test.macro({ packsInput, undefined, undefined, + undefined, false, false, "", @@ -2252,18 +2274,16 @@ test("downloadPacks-with-registries", async (t) => { process.env.CODEQL_REGISTRIES_AUTH = "not-a-registries-auth"; const logger = getRunnerLogger(true); - const apiDetails = { - ...sampleApiDetails, - registriesAuthTokens: "registries-auth", - }; const registries = [ { url: "http://ghcr.io", packages: ["codeql/*", "dsp-testing/*"], + token: "not-a-token", }, { url: "https://containers.GHEHOSTNAME1/v2/", packages: "semmle/*", + token: "still-a-token", }, ]; @@ -2273,13 +2293,19 @@ test("downloadPacks-with-registries", async (t) => { t.deepEqual(configFile, expectedConfigFile); // verify the env vars were set correctly t.deepEqual(process.env.GITHUB_TOKEN, "token"); - t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "registries-auth"); + t.deepEqual( + process.env.CODEQL_REGISTRIES_AUTH, + "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-a-token" + ); // verify the config file contents were set correctly - const config = yaml.load( - fs.readFileSync(configFile, "utf8") - ) as configUtils.UserConfig; - t.deepEqual(config.registries, registries); + const config = yaml.load(fs.readFileSync(configFile, "utf8")) as { + registries: configUtils.SafeRegistryConfig[]; + }; + t.deepEqual( + config.registries, + registries.map((r) => ({ url: r.url, packages: r.packages })) + ); return { packs, }; @@ -2300,7 +2326,7 @@ test("downloadPacks-with-registries", async (t) => { python: ["e", "f"], }, registries, - apiDetails, + sampleApiDetails, tmpDir, logger ); diff --git a/src/config-utils.ts b/src/config-utils.ts index 362c9c0e54..965fe85e3d 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -57,17 +57,20 @@ export interface UserConfig { // Set of query filters to include and exclude extra queries based on // codeql query suite `include` and `exclude` properties "query-filters"?: QueryFilter[]; - - // Set of external registries and which packs to retrieve from each - registries?: RegistryConfig[]; } export type QueryFilter = ExcludeQueryFilter | IncludeQueryFilter; +export type RegistryConfig = SafeRegistryConfig & { + // Token to use when downloading packs from this registry. + token: string; +}; + /** - * The list of registries and the associated pack globs that determine where each pack can be downloaded from. + * The list of registries and the associated pack globs that determine where each + * pack can be downloaded from. */ -export interface RegistryConfig { +export interface SafeRegistryConfig { // URL of a package registry, eg- https://ghcr.io/v2/ url: string; @@ -1622,6 +1625,7 @@ export async function initConfig( languagesInput: string | undefined, queriesInput: string | undefined, packsInput: string | undefined, + registriesInput: string | undefined, configFile: string | undefined, dbLocation: string | undefined, trapCachingEnabled: boolean, @@ -1700,11 +1704,12 @@ export async function initConfig( // happen in the CLI during the `database init` command, so no need // to download them here. if (!(await useCodeScanningConfigInCli(codeQL))) { + const registries = parseRegistries(registriesInput); await downloadPacks( codeQL, config.languages, config.packs, - config.originalUserInput.registries, + registries, apiDetails, config.tempDir, logger @@ -1716,6 +1721,18 @@ export async function initConfig( return config; } +function parseRegistries(registriesInput: string | undefined) { + try { + return registriesInput ? JSON.parse(registriesInput) : undefined; + } catch (e) { + throw new Error( + `Invalid registries input. Must be a JSON string, but got: ${ + e instanceof Error ? e.message : String(e) + }` + ); + } +} + function isLocal(configPath: string): boolean { // If the path starts with ./, look locally if (configPath.indexOf("./") === 0) { @@ -1823,19 +1840,22 @@ export async function downloadPacks( logger: Logger ) { let qlconfigFile: string | undefined; + let registriesAuthTokens: string | undefined; if (registries) { // generate a qlconfig.yml file to hold the registry configs. - const qlconfig = { - registries, - }; + const qlconfig = createRegistriesBlock(registries); qlconfigFile = path.join(tmpDir, "qlconfig.yml"); fs.writeFileSync(qlconfigFile, yaml.dump(qlconfig), "utf8"); + + registriesAuthTokens = registries + .map((registry) => `${registry.url}=${registry.token}`) + .join(","); } await wrapEnvironment( { GITHUB_TOKEN: apiDetails.auth, - CODEQL_REGISTRIES_AUTH: apiDetails.registriesAuthTokens, + CODEQL_REGISTRIES_AUTH: registriesAuthTokens, }, async () => { let numPacksDownloaded = 0; @@ -1868,6 +1888,18 @@ export async function downloadPacks( ); } +function createRegistriesBlock(registries: RegistryConfig[]) { + // be sure to remove the `token` field from the registry before writing it to disk. + const safeRegistries = registries.map((registry) => ({ + url: registry.url, + packages: registry.packages, + })); + const qlconfig = { + registries: safeRegistries, + }; + return qlconfig; +} + async function wrapEnvironment( env: Record, operation: Function diff --git a/src/database-upload.test.ts b/src/database-upload.test.ts index 9a46a21cf9..f19dd8d083 100644 --- a/src/database-upload.test.ts +++ b/src/database-upload.test.ts @@ -39,7 +39,6 @@ const testApiDetails: GitHubApiDetails = { auth: "1234", url: "https://github.com", apiURL: undefined, - registriesAuthTokens: undefined, }; function getTestConfig(tmpDir: string): Config { diff --git a/src/feature-flags.test.ts b/src/feature-flags.test.ts index 23ed4d1336..8c14edd4fe 100644 --- a/src/feature-flags.test.ts +++ b/src/feature-flags.test.ts @@ -24,7 +24,6 @@ const testApiDetails: GitHubApiDetails = { auth: "1234", url: "https://github.com", apiURL: undefined, - registriesAuthTokens: undefined, }; const testRepositoryNwo = parseRepositoryNwo("github/example"); diff --git a/src/init-action.ts b/src/init-action.ts index 462471f068..083de7d1a7 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -148,7 +148,6 @@ async function run() { externalRepoAuth: getOptionalInput("external-repository-token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: getRequiredEnvParam("GITHUB_API_URL"), - registriesAuthTokens: getOptionalInput("registries-auth-tokens"), }; const gitHubVersion = await getGitHubVersionActionsOnly(); @@ -197,6 +196,7 @@ async function run() { getOptionalInput("languages"), getOptionalInput("queries"), getOptionalInput("packs"), + getOptionalInput("registries"), getOptionalInput("config-file"), getOptionalInput("db-location"), await getTrapCachingEnabled(featureFlags), diff --git a/src/init.ts b/src/init.ts index 93dca03392..ebce997af6 100644 --- a/src/init.ts +++ b/src/init.ts @@ -42,6 +42,7 @@ export async function initConfig( languagesInput: string | undefined, queriesInput: string | undefined, packsInput: string | undefined, + registriesInput: string | undefined, configFile: string | undefined, dbLocation: string | undefined, trapCachingEnabled: boolean, @@ -62,6 +63,7 @@ export async function initConfig( languagesInput, queriesInput, packsInput, + registriesInput, configFile, dbLocation, trapCachingEnabled, diff --git a/src/runner.ts b/src/runner.ts index fbd9a39694..2684d8c0a1 100644 --- a/src/runner.ts +++ b/src/runner.ts @@ -203,7 +203,6 @@ program externalRepoAuth: auth, url: parseGitHubUrl(cmd.githubUrl), apiURL: undefined, - registriesAuthTokens: undefined, }; const gitHubVersion = await getGitHubVersion(apiDetails); @@ -241,6 +240,7 @@ program cmd.languages, cmd.queries, cmd.packs, + undefined, // we won't support registries in the runner cmd.configFile, undefined, false, @@ -480,7 +480,6 @@ program auth, url: parseGitHubUrl(cmd.githubUrl), apiURL: undefined, - registriesAuthTokens: undefined, }; const outputDir = @@ -594,7 +593,6 @@ program auth, url: parseGitHubUrl(cmd.githubUrl), apiURL: undefined, - registriesAuthTokens: undefined, }; try { const gitHubVersion = await getGitHubVersion(apiDetails); diff --git a/src/upload-sarif-action.ts b/src/upload-sarif-action.ts index bee22c2e4e..6ce7a69028 100644 --- a/src/upload-sarif-action.ts +++ b/src/upload-sarif-action.ts @@ -57,7 +57,6 @@ async function run() { auth: actionsUtil.getRequiredInput("token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: getRequiredEnvParam("GITHUB_API_URL"), - registriesAuthTokens: undefined, }; const gitHubVersion = await getGitHubVersionActionsOnly(); diff --git a/src/util.test.ts b/src/util.test.ts index 56b5145b82..243da4eb88 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -209,7 +209,6 @@ test("getGitHubVersion", async (t) => { auth: "", url: "https://github.com", apiURL: undefined, - registriesAuthTokens: undefined, }); t.deepEqual(util.GitHubVariant.DOTCOM, v.type); @@ -218,7 +217,6 @@ test("getGitHubVersion", async (t) => { auth: "", url: "https://ghe.example.com", apiURL: undefined, - registriesAuthTokens: undefined, }); t.deepEqual( { type: util.GitHubVariant.GHES, version: "2.0" } as util.GitHubVersion, @@ -230,7 +228,6 @@ test("getGitHubVersion", async (t) => { auth: "", url: "https://example.githubenterprise.com", apiURL: undefined, - registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHAE }, ghae); @@ -239,7 +236,6 @@ test("getGitHubVersion", async (t) => { auth: "", url: "https://ghe.example.com", apiURL: undefined, - registriesAuthTokens: undefined, }); t.deepEqual({ type: util.GitHubVariant.DOTCOM }, v3); }); diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml b/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml index dba07b9edc..854fbed561 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml @@ -5,8 +5,3 @@ packs: javascript: - dsp-testing/private-pack - dsp-testing/codeql-pack1 - -registries: - # enforce using the registries block for all packs - - url: https://ghcr.io/v2/ - packages: "*" From 4b5dea8eed44456f3e57d76ac8e0a770c75be493 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 2 Sep 2022 17:54:53 +0100 Subject: [PATCH 24/44] Address review comments --- lib/autobuild-action.js | 1 - lib/autobuild-action.js.map | 2 +- lib/languages.test.js | 2 +- lib/languages.test.js.map | 2 +- src/autobuild-action.ts | 1 - src/languages.test.ts | 2 +- 6 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/autobuild-action.js b/lib/autobuild-action.js index 3b633f3df8..daa7e48f45 100644 --- a/lib/autobuild-action.js +++ b/lib/autobuild-action.js @@ -53,7 +53,6 @@ async function run() { } const apiDetails = { auth: (0, actions_util_1.getRequiredInput)("token"), - externalRepoAuth: (0, actions_util_1.getOptionalInput)("external-repository-token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), }; diff --git a/lib/autobuild-action.js.map b/lib/autobuild-action.js.map index bb80e699ad..8bcd5bde07 100644 --- a/lib/autobuild-action.js.map +++ b/lib/autobuild-action.js.map @@ -1 +1 @@ -{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAQwB;AACxB,6CAA2D;AAC3D,2CAAuE;AACvE,4DAA8C;AAC9C,mDAAqD;AACrD,2CAAuC;AACvC,uCAA6C;AAC7C,6CAAkD;AAClD,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AASvC,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,YAAsB,EACtB,eAAwB,EACxB,KAAa;IAEb,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,IAAA,+BAAgB,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACxD,MAAM,gBAAgB,GAAG,MAAM,IAAA,qCAAsB,EACnD,WAAW,EACX,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAA0B;QAC1C,GAAG,gBAAgB;QACnB,mBAAmB,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;QAC3C,iBAAiB,EAAE,eAAe;KACnC,CAAC;IACF,MAAM,IAAA,+BAAgB,EAAC,YAAY,CAAC,CAAC;AACvC,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,IAAA,yBAAkB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtC,I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ChE,CAAC;gBACF,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;aACjC;YACD,MAAM,IAAA,wBAAY,EAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;YAC7C,IAAI,QAAQ,KAAK,oBAAQ,CAAC,EAAE,EAAE;gBAC5B,IAAI,CAAC,cAAc,CAAC,oCAAoC,EAAE,MAAM,CAAC,CAAC;aACnE;SACF;KACF;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CACZ,mIACE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACvD,EAAE,CACH,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,yBAAyB,CAC7B,SAAS,EACT,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAC1B,QAAQ,EACR,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC1D,CAAC;QACF,OAAO;KACR;IAED,MAAM,yBAAyB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,4BAA4B,KAAK,EAAE,CAAC,CAAC;QACpD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;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M,CAAC,CAAC;aACnE;SACF;KACF;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CACZ,mIACE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACvD,EAAE,CACH,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,yBAAyB,CAC7B,SAAS,EACT,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAC1B,QAAQ,EACR,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC1D,CAAC;QACF,OAAO;KACR;IAED,MAAM,yBAAyB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,4BAA4B,KAAK,EAAE,CAAC,CAAC;QACpD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/languages.test.js b/lib/languages.test.js index b4d86e725e..bbd1a8316f 100644 --- a/lib/languages.test.js +++ b/lib/languages.test.js @@ -27,7 +27,7 @@ const testing_utils_1 = require("./testing-utils"); t.deepEqual((0, languages_1.parseLanguage)(""), undefined); }); for (const isReconciliationOn of [false, true]) { - (0, ava_1.default)(`isTracedLanguage (go reconciliation ${isReconciliationOn ? "enabled" : "disabled"}`, async (t) => { + (0, ava_1.default)(`isTracedLanguage (go reconciliation ${isReconciliationOn ? "enabled" : "disabled"})`, async (t) => { const logger = (0, logging_1.getRunnerLogger)(true); t.true((0, languages_1.isTracedLanguage)(languages_1.Language.cpp, isReconciliationOn, logger)); t.true((0, languages_1.isTracedLanguage)(languages_1.Language.java, isReconciliationOn, logger)); diff --git a/lib/languages.test.js.map b/lib/languages.test.js.map index 607a9b5a38..74f3343eb5 100644 --- a/lib/languages.test.js.map +++ b/lib/languages.test.js.map @@ -1 +1 @@ -{"version":3,"file":"languages.test.js","sourceRoot":"","sources":["../src/languages.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AAEvB,2CAKqB;AACrB,uCAA4C;AAC5C,mDAA6C;AAE7C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,eAAe,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAChC,gBAAgB;IAChB,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,QAAQ,CAAC,EAAE,oBAAQ,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,KAAK,CAAC,EAAE,oBAAQ,CAAC,GAAG,CAAC,CAAC;IAChD,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,IAAI,CAAC,EAAE,oBAAQ,CAAC,EAAE,CAAC,CAAC;IAC9C,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,MAAM,CAAC,EAAE,oBAAQ,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,YAAY,CAAC,EAAE,oBAAQ,CAAC,UAAU,CAAC,CAAC;IAC9D,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,QAAQ,CAAC,EAAE,oBAAQ,CAAC,MAAM,CAAC,CAAC;IAEtD,UAAU;IACV,CAAC,CAAC,SAAS,CAAC,IAAA,yBAAa,EAAC,GAAG,CAAC,EAAE,oBAAQ,CAAC,GAAG,CAAC,CAAC;IA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AAM,CAAC,CAAC,CAAC;QAC3E,CAAC,CAAC,KAAK,CAAC,IAAA,4BAAgB,EAAC,oBAAQ,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;IACzE,CAAC,CAAC,CAAC;IAEH,IAAA,aAAI,EAAC,wCACH,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UACnC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QACd,MAAM,MAAM,GAAG,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC;QAErC,CAAC,CAAC,KAAK,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,GAAG,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QACrE,CAAC,CAAC,KAAK,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,IAAI,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QACtE,CAAC,CAAC,KAAK,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QAExE,CAAC,CAAC,EAAE,CACF,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,EAAE,EAAE,kBAAkB,EAAE,MAAM,CAAC,EAC1D,CAAC,kBAAkB,CACpB,CAAC;QAEF,CAAC,CAAC,IAAI,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,UAAU,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;QAC3E,CAAC,CAAC,IAAI,CAAC,IAAA,6BAAiB,EAAC,oBAAQ,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;IACzE,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/src/autobuild-action.ts b/src/autobuild-action.ts index 7cd0857bcf..4c7cc881d9 100644 --- a/src/autobuild-action.ts +++ b/src/autobuild-action.ts @@ -74,7 +74,6 @@ async function run() { const apiDetails = { auth: getRequiredInput("token"), - externalRepoAuth: getOptionalInput("external-repository-token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), apiURL: getRequiredEnvParam("GITHUB_API_URL"), }; diff --git a/src/languages.test.ts b/src/languages.test.ts index 84241b1242..baa7b548a2 100644 --- a/src/languages.test.ts +++ b/src/languages.test.ts @@ -35,7 +35,7 @@ test("parseLanguage", async (t) => { for (const isReconciliationOn of [false, true]) { test(`isTracedLanguage (go reconciliation ${ isReconciliationOn ? "enabled" : "disabled" - }`, async (t) => { + })`, async (t) => { const logger = getRunnerLogger(true); t.true(isTracedLanguage(Language.cpp, isReconciliationOn, logger)); From bea5e4b220825f4f086f1e6a2b8e2c8fe1175a80 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 2 Sep 2022 18:02:07 +0100 Subject: [PATCH 25/44] Update ava to 4.3.3 The [release notes](https://github.com/avajs/ava/releases/tag/v4.3.3) mention compatibility with Node 18.8. --- node_modules/.package-lock.json | 287 +++++----- node_modules/arrify/index.d.ts | 38 -- node_modules/arrify/index.js | 23 - node_modules/arrify/package.json | 35 -- node_modules/arrify/readme.md | 39 -- .../ava/entrypoints/eslint-plugin-helper.cjs | 2 +- node_modules/ava/entrypoints/index.d.cts | 2 + node_modules/ava/entrypoints/plugin.d.cts | 1 + node_modules/ava/index.d.ts | 10 +- node_modules/ava/lib/api.js | 12 +- node_modules/ava/lib/assert.js | 22 +- node_modules/ava/lib/cli.js | 30 +- node_modules/ava/lib/create-chain.js | 12 +- .../ava/lib/eslint-plugin-helper-worker.js | 2 +- node_modules/ava/lib/load-config.js | 33 +- node_modules/ava/lib/reporters/default.js | 19 +- node_modules/ava/lib/reporters/tap.js | 2 +- node_modules/ava/lib/run-status.js | 5 +- node_modules/ava/lib/runner.js | 2 +- node_modules/ava/lib/snapshot-manager.js | 4 +- node_modules/ava/lib/test.js | 12 +- node_modules/ava/lib/worker/line-numbers.js | 19 +- .../ava/node_modules/acorn/CHANGELOG.md | 22 + node_modules/ava/node_modules/acorn/LICENSE | 2 +- node_modules/ava/node_modules/acorn/README.md | 21 +- node_modules/ava/node_modules/acorn/bin/acorn | 4 +- .../ava/node_modules/acorn/dist/acorn.d.ts | 40 +- .../ava/node_modules/acorn/dist/acorn.js | 112 ++-- .../ava/node_modules/acorn/dist/acorn.mjs | 112 ++-- .../ava/node_modules/acorn/package.json | 2 +- .../ava/node_modules/aggregate-error/index.js | 2 +- .../node_modules/aggregate-error/package.json | 2 +- .../ava/node_modules/array-union/index.d.ts | 25 - .../ava/node_modules/array-union/index.js | 3 - .../ava/node_modules/array-union/readme.md | 39 -- .../ava/node_modules/chalk/package.json | 3 +- .../ava/node_modules/clean-stack/index.js | 4 +- .../ava/node_modules/clean-stack/package.json | 2 +- .../ava/node_modules/globby/gitignore.js | 108 ---- .../ava/node_modules/globby/ignore.js | 92 +++ .../ava/node_modules/globby/index.d.ts | 22 +- node_modules/ava/node_modules/globby/index.js | 276 +++++---- .../ava/node_modules/globby/package.json | 32 +- .../ava/node_modules/globby/readme.md | 23 +- .../ava/node_modules/globby/stream-utils.js | 40 -- .../ava/node_modules/globby/to-path.js | 15 - .../ava/node_modules/globby/utilities.js | 17 + .../ava/node_modules/p-map/index.d.ts | 28 +- node_modules/ava/node_modules/p-map/index.js | 49 +- .../ava/node_modules/p-map/package.json | 8 +- node_modules/ava/node_modules/p-map/readme.md | 24 + node_modules/ava/package.json | 80 +-- node_modules/ava/plugin.d.ts | 2 +- node_modules/ava/readme.md | 19 +- node_modules/ava/types/assertions.d.ts | 18 +- .../{subscribable.ts => subscribable.d.ts} | 0 node_modules/ava/types/test-fn.d.ts | 10 +- node_modules/ava/types/try-fn.d.ts | 2 +- node_modules/chokidar/README.md | 2 +- node_modules/chokidar/lib/nodefs-handler.js | 10 +- node_modules/chokidar/package.json | 11 +- node_modules/chokidar/types/index.d.ts | 7 +- node_modules/ci-info/CHANGELOG.md | 11 +- node_modules/ci-info/index.d.ts | 1 + node_modules/ci-info/index.js | 4 +- node_modules/ci-info/package.json | 23 +- node_modules/code-excerpt/dist/index.d.ts | 9 + node_modules/code-excerpt/dist/index.js | 27 + node_modules/code-excerpt/index.d.ts | 44 -- node_modules/code-excerpt/index.js | 40 -- node_modules/code-excerpt/package.json | 33 +- node_modules/code-excerpt/readme.md | 2 +- .../convert-to-spaces/dist/index.d.ts | 2 + node_modules/convert-to-spaces/dist/index.js | 4 + node_modules/convert-to-spaces/index.js | 5 - node_modules/convert-to-spaces/package.json | 39 +- node_modules/convert-to-spaces/readme.md | 19 +- node_modules/debug/README.md | 3 + node_modules/debug/package.json | 2 +- node_modules/debug/src/common.js | 2 +- node_modules/del/index.d.ts | 36 +- node_modules/del/index.js | 20 +- node_modules/del/package.json | 2 +- node_modules/del/readme.md | 33 +- node_modules/emittery/index.d.ts | 18 +- node_modules/emittery/index.js | 59 +- node_modules/emittery/package.json | 4 +- node_modules/emittery/readme.md | 10 +- node_modules/figures/index.js | 19 +- node_modules/figures/package.json | 12 +- node_modules/figures/readme.md | 2 +- node_modules/ignore-by-default/index.js | 1 + node_modules/ignore-by-default/package.json | 2 +- node_modules/is-typedarray/LICENSE.md | 18 - node_modules/is-typedarray/README.md | 16 - node_modules/is-typedarray/index.js | 41 -- node_modules/is-typedarray/package.json | 30 - node_modules/is-typedarray/test.js | 34 -- node_modules/is-unicode-supported/index.js | 15 +- .../is-unicode-supported/package.json | 8 +- node_modules/is-unicode-supported/readme.md | 4 +- node_modules/picomatch/CHANGELOG.md | 10 + node_modules/picomatch/README.md | 7 +- node_modules/picomatch/lib/parse.js | 9 +- node_modules/picomatch/package.json | 2 +- node_modules/signal-exit/CHANGELOG.md | 35 -- node_modules/signal-exit/README.md | 2 +- node_modules/signal-exit/index.js | 299 +++++----- node_modules/signal-exit/package.json | 20 +- node_modules/supertap/dist/index.d.ts | 19 + node_modules/supertap/dist/index.js | 67 +++ node_modules/supertap/index.js | 75 --- .../node_modules/ansi-regex/index.d.ts | 33 ++ .../supertap/node_modules/ansi-regex/index.js | 8 + .../node_modules/ansi-regex}/license | 0 .../node_modules/ansi-regex/package.json | 58 ++ .../node_modules/ansi-regex/readme.md | 72 +++ .../node_modules/indent-string/index.d.ts | 38 ++ .../node_modules/indent-string/index.js | 38 ++ .../node_modules/indent-string}/license | 2 +- .../node_modules/indent-string}/package.json | 30 +- .../node_modules/indent-string/readme.md | 73 +++ .../node_modules/strip-ansi/index.d.ts | 15 + .../supertap/node_modules/strip-ansi/index.js | 9 + .../supertap/node_modules/strip-ansi/license | 9 + .../node_modules/strip-ansi/package.json | 57 ++ .../node_modules/strip-ansi/readme.md | 41 ++ node_modules/supertap/package.json | 39 +- node_modules/supertap/readme.md | 7 +- node_modules/typedarray-to-buffer/.airtap.yml | 15 - node_modules/typedarray-to-buffer/.travis.yml | 11 - node_modules/typedarray-to-buffer/LICENSE | 21 - node_modules/typedarray-to-buffer/README.md | 85 --- node_modules/typedarray-to-buffer/index.js | 25 - .../typedarray-to-buffer/package.json | 50 -- .../typedarray-to-buffer/test/basic.js | 50 -- node_modules/write-file-atomic/CHANGELOG.md | 32 -- .../write-file-atomic/{LICENSE => LICENSE.md} | 0 node_modules/write-file-atomic/README.md | 27 +- .../write-file-atomic/{ => lib}/index.js | 44 +- node_modules/write-file-atomic/package.json | 43 +- node_modules/yargs-parser/CHANGELOG.md | 28 + node_modules/yargs-parser/build/index.cjs | 10 +- node_modules/yargs-parser/build/lib/index.js | 6 +- .../yargs-parser/build/lib/yargs-parser.js | 4 +- node_modules/yargs-parser/package.json | 16 +- node_modules/yargs/build/index.cjs | 2 +- node_modules/yargs/build/lib/command.js | 45 +- .../yargs/build/lib/completion-templates.js | 2 +- node_modules/yargs/build/lib/completion.js | 64 ++- node_modules/yargs/build/lib/usage.js | 43 +- node_modules/yargs/build/lib/validation.js | 2 +- node_modules/yargs/build/lib/yargs-factory.js | 22 +- node_modules/yargs/build/lib/yerror.js | 4 +- node_modules/yargs/lib/platform-shims/esm.mjs | 2 +- node_modules/yargs/locales/ru.json | 7 +- node_modules/yargs/package.json | 9 +- node_modules/yargs/yargs.mjs | 10 + package-lock.json | 530 +++++++++--------- package.json | 2 +- 160 files changed, 2612 insertions(+), 2228 deletions(-) delete mode 100644 node_modules/arrify/index.d.ts delete mode 100644 node_modules/arrify/index.js delete mode 100644 node_modules/arrify/package.json delete mode 100644 node_modules/arrify/readme.md create mode 100644 node_modules/ava/entrypoints/index.d.cts create mode 100644 node_modules/ava/entrypoints/plugin.d.cts delete mode 100644 node_modules/ava/node_modules/array-union/index.d.ts delete mode 100644 node_modules/ava/node_modules/array-union/index.js delete mode 100644 node_modules/ava/node_modules/array-union/readme.md delete mode 100644 node_modules/ava/node_modules/globby/gitignore.js create mode 100644 node_modules/ava/node_modules/globby/ignore.js delete mode 100644 node_modules/ava/node_modules/globby/stream-utils.js delete mode 100644 node_modules/ava/node_modules/globby/to-path.js create mode 100644 node_modules/ava/node_modules/globby/utilities.js rename node_modules/ava/types/{subscribable.ts => subscribable.d.ts} (100%) create mode 100644 node_modules/code-excerpt/dist/index.d.ts create mode 100644 node_modules/code-excerpt/dist/index.js delete mode 100644 node_modules/code-excerpt/index.d.ts delete mode 100644 node_modules/code-excerpt/index.js create mode 100644 node_modules/convert-to-spaces/dist/index.d.ts create mode 100644 node_modules/convert-to-spaces/dist/index.js delete mode 100644 node_modules/convert-to-spaces/index.js delete mode 100644 node_modules/is-typedarray/LICENSE.md delete mode 100644 node_modules/is-typedarray/README.md delete mode 100644 node_modules/is-typedarray/index.js delete mode 100644 node_modules/is-typedarray/package.json delete mode 100644 node_modules/is-typedarray/test.js delete mode 100644 node_modules/signal-exit/CHANGELOG.md create mode 100644 node_modules/supertap/dist/index.d.ts create mode 100644 node_modules/supertap/dist/index.js delete mode 100644 node_modules/supertap/index.js create mode 100644 node_modules/supertap/node_modules/ansi-regex/index.d.ts create mode 100644 node_modules/supertap/node_modules/ansi-regex/index.js rename node_modules/{ava/node_modules/array-union => supertap/node_modules/ansi-regex}/license (100%) create mode 100644 node_modules/supertap/node_modules/ansi-regex/package.json create mode 100644 node_modules/supertap/node_modules/ansi-regex/readme.md create mode 100644 node_modules/supertap/node_modules/indent-string/index.d.ts create mode 100644 node_modules/supertap/node_modules/indent-string/index.js rename node_modules/{arrify => supertap/node_modules/indent-string}/license (92%) rename node_modules/{ava/node_modules/array-union => supertap/node_modules/indent-string}/package.json (57%) create mode 100644 node_modules/supertap/node_modules/indent-string/readme.md create mode 100644 node_modules/supertap/node_modules/strip-ansi/index.d.ts create mode 100644 node_modules/supertap/node_modules/strip-ansi/index.js create mode 100644 node_modules/supertap/node_modules/strip-ansi/license create mode 100644 node_modules/supertap/node_modules/strip-ansi/package.json create mode 100644 node_modules/supertap/node_modules/strip-ansi/readme.md delete mode 100644 node_modules/typedarray-to-buffer/.airtap.yml delete mode 100644 node_modules/typedarray-to-buffer/.travis.yml delete mode 100644 node_modules/typedarray-to-buffer/LICENSE delete mode 100644 node_modules/typedarray-to-buffer/README.md delete mode 100644 node_modules/typedarray-to-buffer/index.js delete mode 100644 node_modules/typedarray-to-buffer/package.json delete mode 100644 node_modules/typedarray-to-buffer/test/basic.js delete mode 100644 node_modules/write-file-atomic/CHANGELOG.md rename node_modules/write-file-atomic/{LICENSE => LICENSE.md} (100%) rename node_modules/write-file-atomic/{ => lib}/index.js (89%) create mode 100644 node_modules/yargs/yargs.mjs diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 68bd34c84e..00c99658fc 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1261,14 +1261,6 @@ "node": ">=8.0.0" } }, - "node_modules/arrify": { - "version": "2.0.1", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", @@ -1284,45 +1276,45 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/ava": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/ava/-/ava-4.0.1.tgz", - "integrity": "sha512-+12A/JDWyShBCZAKISEEPyM2dwkUrrAfPILqXi4LI4Aa58d92PzjY829hmuoSeACPNqrn2Wlbnja8c/n7bKV6Q==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.3.tgz", + "integrity": "sha512-9Egq/d9R74ExrWohHeqUlexjDbgZJX5jA1Wq4KCTqc3wIfpGEK79zVy4rBtofJ9YKIxs4PzhJ8BgbW5PlAYe6w==", "dev": true, "dependencies": { - "acorn": "^8.7.0", + "acorn": "^8.7.1", "acorn-walk": "^8.2.0", "ansi-styles": "^6.1.0", "arrgv": "^1.0.2", "arrify": "^3.0.0", "callsites": "^4.0.0", "cbor": "^8.1.0", - "chalk": "^5.0.0", - "chokidar": "^3.5.2", + "chalk": "^5.0.1", + "chokidar": "^3.5.3", "chunkd": "^2.0.1", - "ci-info": "^3.3.0", + "ci-info": "^3.3.1", "ci-parallel-vars": "^1.0.1", "clean-yaml-object": "^0.1.0", "cli-truncate": "^3.1.0", - "code-excerpt": "^3.0.0", + "code-excerpt": "^4.0.0", "common-path-prefix": "^3.0.0", "concordance": "^5.0.4", "currently-unhandled": "^0.4.1", - "debug": "^4.3.3", - "del": "^6.0.0", - "emittery": "^0.10.0", - "figures": "^4.0.0", - "globby": "^12.0.2", - "ignore-by-default": "^2.0.0", + "debug": "^4.3.4", + "del": "^6.1.1", + "emittery": "^0.11.0", + "figures": "^4.0.1", + "globby": "^13.1.1", + "ignore-by-default": "^2.1.0", "indent-string": "^5.0.0", "is-error": "^2.2.2", "is-plain-object": "^5.0.0", "is-promise": "^4.0.0", "matcher": "^5.0.0", - "mem": "^9.0.1", + "mem": "^9.0.2", "ms": "^2.1.3", "p-event": "^5.0.1", - "p-map": "^5.3.0", - "picomatch": "^2.3.0", + "p-map": "^5.4.0", + "picomatch": "^2.3.1", "pkg-conf": "^4.0.0", "plur": "^5.1.0", "pretty-ms": "^7.0.1", @@ -1330,16 +1322,16 @@ "slash": "^3.0.0", "stack-utils": "^2.0.5", "strip-ansi": "^7.0.1", - "supertap": "^2.0.0", + "supertap": "^3.0.1", "temp-dir": "^2.0.0", - "write-file-atomic": "^3.0.3", - "yargs": "^17.3.1" + "write-file-atomic": "^4.0.1", + "yargs": "^17.5.1" }, "bin": { "ava": "entrypoints/cli.mjs" }, "engines": { - "node": ">=12.22 <13 || >=14.17 <15 || >=16.4 <17 || >=17" + "node": ">=12.22 <13 || >=14.17 <15 || >=16.4 <17 || >=18" }, "peerDependencies": { "@ava/typescript": "*" @@ -1351,9 +1343,9 @@ } }, "node_modules/ava/node_modules/acorn": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", - "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -1363,9 +1355,9 @@ } }, "node_modules/ava/node_modules/aggregate-error": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.0.tgz", - "integrity": "sha512-8DGp7zUt1E9k0NE2q4jlXHk+V3ORErmwolEdRz9iV+LKJ40WhMHh92cxAvhqV2I+zEn/gotIoqoMs0NjF3xofg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", + "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", "dev": true, "dependencies": { "clean-stack": "^4.0.0", @@ -1402,18 +1394,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/ava/node_modules/array-union": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz", - "integrity": "sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ava/node_modules/arrify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/arrify/-/arrify-3.0.0.tgz", @@ -1439,9 +1419,9 @@ } }, "node_modules/ava/node_modules/chalk": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.0.0.tgz", - "integrity": "sha512-/duVOqst+luxCQRKEo4bNxinsOQtMP80ZYm7mMqzuh5PociNL0PvmHFvREJ9ueYL2TxlHjBcmLCdmocx9Vg+IQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.0.1.tgz", + "integrity": "sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w==", "dev": true, "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" @@ -1451,9 +1431,9 @@ } }, "node_modules/ava/node_modules/clean-stack": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.1.0.tgz", - "integrity": "sha512-dxXQYI7mfQVcaF12s6sjNFoZ6ZPDQuBBLp3QJ5156k9EvUFClUoZ11fo8HnLQO241DDVntHEug8MOuFO5PSfRg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", + "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", "dev": true, "dependencies": { "escape-string-regexp": "5.0.0" @@ -1478,15 +1458,14 @@ } }, "node_modules/ava/node_modules/globby": { - "version": "12.2.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-12.2.0.tgz", - "integrity": "sha512-wiSuFQLZ+urS9x2gGPl1H5drc5twabmm4m2gTR27XDFyjUHJUNsS8o/2aKyIF6IoBaR630atdher0XJ5g6OMmA==", + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.1.2.tgz", + "integrity": "sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==", "dev": true, "dependencies": { - "array-union": "^3.0.1", "dir-glob": "^3.0.1", - "fast-glob": "^3.2.7", - "ignore": "^5.1.9", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", "merge2": "^1.4.1", "slash": "^4.0.0" }, @@ -1528,9 +1507,9 @@ "dev": true }, "node_modules/ava/node_modules/p-map": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.3.0.tgz", - "integrity": "sha512-SRbIQFoLYNezHkqZslqeg963HYUtqOrfMCxjNrFOpJ19WTYuq26rQoOXeX8QQiMLUlLqdYV/7PuDsdYJ7hLE1w==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.5.0.tgz", + "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==", "dev": true, "dependencies": { "aggregate-error": "^4.0.0" @@ -1654,10 +1633,16 @@ } }, "node_modules/chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "dev": true, + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -1680,9 +1665,9 @@ "dev": true }, "node_modules/ci-info": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.0.tgz", - "integrity": "sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.2.tgz", + "integrity": "sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==", "dev": true }, "node_modules/ci-parallel-vars": { @@ -1784,15 +1769,15 @@ } }, "node_modules/code-excerpt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-3.0.0.tgz", - "integrity": "sha512-VHNTVhd7KsLGOqfX3SyeO8RyYPMp1GJOg194VITk04WMYCv4plV68YWe6TJZxd9MhobjtpMRnVky01gqZsalaw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz", + "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==", "dev": true, "dependencies": { - "convert-to-spaces": "^1.0.1" + "convert-to-spaces": "^2.0.1" }, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/color-convert": { @@ -1858,12 +1843,12 @@ "integrity": "sha512-VZzbIORbP+PPcN/gg3DXClTLPLg5Slwd5fL2MIc+o1qZ4BXBvWyc6QxPk6T/Mkr6IVjRpoAGf32XxP3ZWMVRcQ==" }, "node_modules/convert-to-spaces": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz", - "integrity": "sha1-fj5Iu+bZl7FBfdyihoIEtNPYVxU=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz", + "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==", "dev": true, "engines": { - "node": ">= 4" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/cross-spawn": { @@ -1911,9 +1896,9 @@ } }, "node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -1952,9 +1937,9 @@ } }, "node_modules/del": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", - "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/del/-/del-6.1.1.tgz", + "integrity": "sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==", "dependencies": { "globby": "^11.0.1", "graceful-fs": "^4.2.4", @@ -2022,9 +2007,9 @@ "dev": true }, "node_modules/emittery": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.0.tgz", - "integrity": "sha512-AGvFfs+d0JKCJQ4o01ASQLGPmSCxgfU9RFXvzPvZdjKK8oscynksuJhWrSTSw7j7Ep/sZct5b5ZhYCi8S/t0HQ==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.11.0.tgz", + "integrity": "sha512-S/7tzL6v5i+4iJd627Nhv9cLFIo5weAIlGccqJFpnBoDB8U1TF2k5tez4J/QNuxyyhWuFqHg1L84Kd3m7iXg6g==", "dev": true, "engines": { "node": ">=12" @@ -2992,13 +2977,13 @@ } }, "node_modules/figures": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-4.0.0.tgz", - "integrity": "sha512-VnYcWq6H6F0qDN0QnorznBr0abEovifzUokmnezpKZBUbDmbLAt7LMryOp1TKFVxLxyNYkxEkCEADZR58U9oSw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/figures/-/figures-4.0.1.tgz", + "integrity": "sha512-rElJwkA/xS04Vfg+CaZodpso7VqBknOYbzi6I76hI4X80RUjkSxO2oAyPmGbuXUppywjqndOrQDl817hDnI++w==", "dev": true, "dependencies": { "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.0.0" + "is-unicode-supported": "^1.2.0" }, "engines": { "node": ">=12" @@ -3407,9 +3392,9 @@ } }, "node_modules/ignore-by-default": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-2.0.0.tgz", - "integrity": "sha512-+mQSgMRiFD3L3AOxLYOCxjIq4OnAmo5CIuC+lj5ehCJcPtV++QacEV7FdpzvYxH6DaOySWzQU6RR0lPLy37ckA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-2.1.0.tgz", + "integrity": "sha512-yiWd4GVmJp0Q6ghmM2B/V3oZGRmjrKLXvHR3TE1nfoXsmoggllfZUQe74EN0fJdPFZu2NIvNdrMMLm3OsV7Ohw==", "dev": true, "engines": { "node": ">=10 <11 || >=12 <13 || >=14" @@ -3711,16 +3696,10 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true - }, "node_modules/is-unicode-supported": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.1.0.tgz", - "integrity": "sha512-lDcxivp8TJpLG75/DpatAqNzOpDPSpED8XNtrpBHTdQ2InQ1PbW78jhwSxyxhhu+xbVSast2X38bwj8atwoUQA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.2.0.tgz", + "integrity": "sha512-wH+U77omcRzevfIG8dDhTS0V9zZyweakfD01FULl97+0EHiJTTZtJqxPSkIIo/SDPv/i07k/C9jAPY+jwLLeUQ==", "dev": true, "engines": { "node": ">=12" @@ -4461,9 +4440,9 @@ } }, "node_modules/picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "engines": { "node": ">=8.6" }, @@ -4866,7 +4845,7 @@ "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, "engines": { "node": ">=0.10.0" @@ -5035,9 +5014,9 @@ } }, "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, "node_modules/sinon": { @@ -5281,19 +5260,30 @@ } }, "node_modules/supertap": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supertap/-/supertap-2.0.0.tgz", - "integrity": "sha512-jRzcXlCeDYvKoZGA5oRhYyR3jUIYu0enkSxtmAgHRlD7HwrovTpH4bDSi0py9FtuA8si9cW/fKommJHuaoDHJA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/supertap/-/supertap-3.0.1.tgz", + "integrity": "sha512-u1ZpIBCawJnO+0QePsEiOknOfCRq0yERxiAchT0i4li0WHNUJbf0evXXSXOcCAR4M8iMDoajXYmstm/qO81Isw==", "dev": true, "dependencies": { - "arrify": "^2.0.1", - "indent-string": "^4.0.0", - "js-yaml": "^3.14.0", + "indent-string": "^5.0.0", + "js-yaml": "^3.14.1", "serialize-error": "^7.0.1", - "strip-ansi": "^6.0.0" + "strip-ansi": "^7.0.1" }, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/supertap/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/supertap/node_modules/argparse": { @@ -5305,6 +5295,18 @@ "sprintf-js": "~1.0.2" } }, + "node_modules/supertap/node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/supertap/node_modules/js-yaml": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", @@ -5318,6 +5320,21 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/supertap/node_modules/strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/supports-color": { "version": "5.5.0", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", @@ -5570,15 +5587,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, "node_modules/typescript": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", @@ -5773,15 +5781,16 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "node_modules/write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", + "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, "dependencies": { "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/xml2js": { @@ -5819,9 +5828,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yargs": { - "version": "17.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz", - "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", + "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", "dev": true, "dependencies": { "cliui": "^7.0.2", @@ -5837,9 +5846,9 @@ } }, "node_modules/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, "engines": { "node": ">=12" diff --git a/node_modules/arrify/index.d.ts b/node_modules/arrify/index.d.ts deleted file mode 100644 index bfd0cf5e96..0000000000 --- a/node_modules/arrify/index.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** -Convert a value to an array. - -_Supplying `null` or `undefined` results in an empty array._ - -@example -``` -import arrify = require('arrify'); - -arrify('🦄'); -//=> ['🦄'] - -arrify(['🦄']); -//=> ['🦄'] - -arrify(new Set(['🦄'])); -//=> ['🦄'] - -arrify(null); -//=> [] - -arrify(undefined); -//=> [] -``` -*/ -declare function arrify( - value: ValueType -): ValueType extends (null | undefined) - ? [] - : ValueType extends string - ? [string] - : ValueType extends ReadonlyArray // TODO: Use 'readonly unknown[]' in the next major version - ? ValueType - : ValueType extends Iterable - ? T[] - : [ValueType]; - -export = arrify; diff --git a/node_modules/arrify/index.js b/node_modules/arrify/index.js deleted file mode 100644 index 49a5c9adf1..0000000000 --- a/node_modules/arrify/index.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -const arrify = value => { - if (value === null || value === undefined) { - return []; - } - - if (Array.isArray(value)) { - return value; - } - - if (typeof value === 'string') { - return [value]; - } - - if (typeof value[Symbol.iterator] === 'function') { - return [...value]; - } - - return [value]; -}; - -module.exports = arrify; diff --git a/node_modules/arrify/package.json b/node_modules/arrify/package.json deleted file mode 100644 index 5041651bd4..0000000000 --- a/node_modules/arrify/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "arrify", - "version": "2.0.1", - "description": "Convert a value to an array", - "license": "MIT", - "repository": "sindresorhus/arrify", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "array", - "arrify", - "arrayify", - "convert", - "value", - "ensure" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/node_modules/arrify/readme.md b/node_modules/arrify/readme.md deleted file mode 100644 index b3dfc83778..0000000000 --- a/node_modules/arrify/readme.md +++ /dev/null @@ -1,39 +0,0 @@ -# arrify [![Build Status](https://travis-ci.org/sindresorhus/arrify.svg?branch=master)](https://travis-ci.org/sindresorhus/arrify) - -> Convert a value to an array - - -## Install - -``` -$ npm install arrify -``` - - -## Usage - -```js -const arrify = require('arrify'); - -arrify('🦄'); -//=> ['🦄'] - -arrify(['🦄']); -//=> ['🦄'] - -arrify(new Set(['🦄'])); -//=> ['🦄'] - -arrify(null); -//=> [] - -arrify(undefined); -//=> [] -``` - -*Supplying `null` or `undefined` results in an empty array.* - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/ava/entrypoints/eslint-plugin-helper.cjs b/node_modules/ava/entrypoints/eslint-plugin-helper.cjs index 99e90638b6..ab1bcfa38d 100644 --- a/node_modules/ava/entrypoints/eslint-plugin-helper.cjs +++ b/node_modules/ava/entrypoints/eslint-plugin-helper.cjs @@ -90,7 +90,7 @@ function load(projectDir, overrides) { const helper = Object.freeze({ classifyFile: classifyForESLint, - classifyImport: importPath => { + classifyImport(importPath) { if (hasExtension(globs.extensions, importPath)) { // The importPath has one of the test file extensions: we can classify // it directly. diff --git a/node_modules/ava/entrypoints/index.d.cts b/node_modules/ava/entrypoints/index.d.cts new file mode 100644 index 0000000000..91c40063fd --- /dev/null +++ b/node_modules/ava/entrypoints/index.d.cts @@ -0,0 +1,2 @@ +export {default} from '../index.js'; +export * from '../index.js'; diff --git a/node_modules/ava/entrypoints/plugin.d.cts b/node_modules/ava/entrypoints/plugin.d.cts new file mode 100644 index 0000000000..b66e07dcb8 --- /dev/null +++ b/node_modules/ava/entrypoints/plugin.d.cts @@ -0,0 +1 @@ +export * from '../plugin.js' diff --git a/node_modules/ava/index.d.ts b/node_modules/ava/index.d.ts index 24b722040a..50f1570d74 100644 --- a/node_modules/ava/index.d.ts +++ b/node_modules/ava/index.d.ts @@ -1,9 +1,9 @@ -import type {TestFn} from './types/test-fn'; +import type {TestFn} from './types/test-fn.js'; -export * from './types/assertions'; -export * from './types/try-fn'; -export * from './types/test-fn'; -export * from './types/subscribable'; +export * from './types/assertions.js'; +export * from './types/try-fn.js'; +export * from './types/test-fn.js'; +export * from './types/subscribable.js'; /** Call to declare a test, or chain to declare hooks or test modifiers */ declare const test: TestFn; diff --git a/node_modules/ava/lib/api.js b/node_modules/ava/lib/api.js index bf0cb2498c..1ebe27ce54 100644 --- a/node_modules/ava/lib/api.js +++ b/node_modules/ava/lib/api.js @@ -177,13 +177,19 @@ export default class Api extends Emittery { const fileCount = selectedFiles.length; // The files must be in the same order across all runs, so sort them. - selectedFiles = selectedFiles.sort((a, b) => a.localeCompare(b, [], {numeric: true})); + const defaultComparator = (a, b) => a.localeCompare(b, [], {numeric: true}); + selectedFiles = selectedFiles.sort(this.options.sortTestFiles || defaultComparator); selectedFiles = chunkd(selectedFiles, currentIndex, totalRuns); const currentFileCount = selectedFiles.length; runStatus = new RunStatus(fileCount, {currentFileCount, currentIndex, totalRuns}, selectionInsights); } else { + // If a custom sorter was configured, use it. + if (this.options.sortTestFiles) { + selectedFiles = selectedFiles.sort(this.options.sortTestFiles); + } + runStatus = new RunStatus(selectedFiles.length, null, selectionInsights); } @@ -261,8 +267,8 @@ export default class Api extends Emittery { } const lineNumbers = getApplicableLineNumbers(globs.normalizeFileForMatching(apiOptions.projectDir, file), filter); - // Removing `providers` field because they cannot be transfered to the worker threads. - const {providers, ...forkOptions} = apiOptions; + // Removing `providers` and `sortTestFiles` fields because they cannot be transferred to the worker threads. + const {providers, sortTestFiles, ...forkOptions} = apiOptions; const options = { ...forkOptions, providerStates, diff --git a/node_modules/ava/lib/assert.js b/node_modules/ava/lib/assert.js index 70d24d1bff..5d5477071f 100644 --- a/node_modules/ava/lib/assert.js +++ b/node_modules/ava/lib/assert.js @@ -106,10 +106,15 @@ function validateExpectations(assertion, expectations, numberArgs) { // eslint-d }); } - if (hasOwnProperty(expectations, 'message') && typeof expectations.message !== 'string' && !(expectations.message instanceof RegExp)) { + if ( + hasOwnProperty(expectations, 'message') + && typeof expectations.message !== 'string' + && !(expectations.message instanceof RegExp) + && !(typeof expectations.message === 'function') + ) { throw new AssertionError({ assertion, - message: `The \`message\` property of the second argument to \`t.${assertion}()\` must be a string or regular expression`, + message: `The \`message\` property of the second argument to \`t.${assertion}()\` must be a string, regular expression or a function`, values: [formatWithLabel('Called with:', expectations)], }); } @@ -230,6 +235,19 @@ function assertExpectations({assertion, actual, expectations, message, prefix, s }); } + if (typeof expectations.message === 'function' && expectations.message(actual.message) === false) { + throw new AssertionError({ + assertion, + message, + savedError, + actualStack, + values: [ + formatWithLabel(`${prefix} unexpected exception:`, actual), + formatWithLabel('Expected message to return true:', expectations.message), + ], + }); + } + if (typeof expectations.code !== 'undefined' && actual.code !== expectations.code) { throw new AssertionError({ assertion, diff --git a/node_modules/ava/lib/cli.js b/node_modules/ava/lib/cli.js index 3f9974732f..a4c89ac098 100644 --- a/node_modules/ava/lib/cli.js +++ b/node_modules/ava/lib/cli.js @@ -21,6 +21,7 @@ import {splitPatternAndLineNumbers} from './line-numbers.js'; import {loadConfig} from './load-config.js'; import normalizeModuleTypes from './module-types.js'; import normalizeNodeArguments from './node-arguments.js'; +import pkg from './pkg.cjs'; import providerManager from './provider-manager.js'; import DefaultReporter from './reporters/default.js'; import TapReporter from './reporters/tap.js'; @@ -102,8 +103,15 @@ export default async function loadCli() { // eslint-disable-line complexity let conf; let confError; try { - const {argv: {config: configFile}} = yargs(hideBin(process.argv)).help(false); - conf = await loadConfig({configFile}); + const {argv: {config: configFile}} = yargs(hideBin(process.argv)).help(false).version(false); + const loaded = await loadConfig({configFile}); + if (loaded.unsupportedFiles.length > 0) { + console.log(chalk.magenta( + ` ${figures.warning} AVA does not support JSON config, ignoring:\n\n ${loaded.unsupportedFiles.join('\n ')}`, + )); + } + + conf = loaded.config; if (conf.configFile && path.basename(conf.configFile) !== path.relative(conf.projectDir, conf.configFile)) { console.log(chalk.magenta(` ${figures.warning} Using configuration from ${conf.configFile}`)); } @@ -132,6 +140,7 @@ export default async function loadCli() { // eslint-disable-line complexity let resetCache = false; const {argv} = yargs(hideBin(process.argv)) + .version(pkg.version) .parserConfiguration({ 'boolean-negation': true, 'camel-case-expansion': false, @@ -161,7 +170,7 @@ export default async function loadCli() { // eslint-disable-line complexity }) .command('* [...]', 'Run tests', yargs => yargs.options(FLAGS).positional('pattern', { array: true, - describe: 'Select which test files to run. Leave empty if you want AVA to run all test files as per your configuration. Accepts glob patterns, directories that (recursively) contain test files, and file paths. Add a colon and specify line numbers of specific tests to run', + describe: 'Select which test files to run. Leave empty if you want AVA to run all test files as per your configuration. Accepts glob patterns, directories that (recursively) contain test files, and file paths optionally suffixed with a colon and comma-separated numbers and/or ranges identifying the 1-based line(s) of specific tests to run', type: 'string', }), argv => { if (activeInspector) { @@ -188,7 +197,7 @@ export default async function loadCli() { // eslint-disable-line complexity }, }).positional('pattern', { demand: true, - describe: 'Glob patterns to select a single test file to debug. Add a colon and specify line numbers of specific tests to run', + describe: 'Glob pattern to select a single test file to debug, optionally suffixed with a colon and comma-separated numbers and/or ranges identifying the 1-based line(s) of specific tests to run', type: 'string', }), argv => { @@ -319,16 +328,20 @@ export default async function loadCli() { // eslint-disable-line complexity exit('’sources’ has been removed. Use ’ignoredByWatcher’ to provide glob patterns of files that the watcher should ignore.'); } - let pkg; + if (Reflect.has(conf, 'sortTestFiles') && typeof conf.sortTestFiles !== 'function') { + exit('’sortTestFiles’ must be a comparator function.'); + } + + let projectPackageObject; try { - pkg = JSON.parse(fs.readFileSync(path.resolve(projectDir, 'package.json'))); + projectPackageObject = JSON.parse(fs.readFileSync(path.resolve(projectDir, 'package.json'))); } catch (error) { if (error.code !== 'ENOENT') { throw error; } } - const {type: defaultModuleType = 'commonjs'} = pkg || {}; + const {type: defaultModuleType = 'commonjs'} = projectPackageObject || {}; const providers = []; if (Reflect.has(conf, 'typescript')) { @@ -380,7 +393,7 @@ export default async function loadCli() { // eslint-disable-line complexity } let parallelRuns = null; - if (isCi && ciParallelVars) { + if (isCi && ciParallelVars && combined.utilizeParallelBuilds !== false) { const {index: currentIndex, total: totalRuns} = ciParallelVars; parallelRuns = {currentIndex, totalRuns}; } @@ -411,6 +424,7 @@ export default async function loadCli() { // eslint-disable-line complexity moduleTypes, nodeArguments, parallelRuns, + sortTestFiles: conf.sortTestFiles, projectDir, providers, ranFromCli: true, diff --git a/node_modules/ava/lib/create-chain.js b/node_modules/ava/lib/create-chain.js index 525fa96d12..2140d85bb5 100644 --- a/node_modules/ava/lib/create-chain.js +++ b/node_modules/ava/lib/create-chain.js @@ -101,11 +101,13 @@ export default function createChain(fn, defaults, meta) { root.meta = meta; - // Our type definition uses ESM syntax; when using CJS with VSCode, the - // auto-completion assumes the root is accessed through `require('ava').default`. - // Placate VSCode by adding a mostly hidden default property on the root. - // This is available through both CJS and ESM imports. We use a proxy so that - // we don't end up with root.default.default.default chains. + // The ESM and CJS type definitions export the chain (`test()` function) as + // the default. TypeScript's CJS output (when `esModuleInterop` is disabled) + // assume `require('ava').default` is available. The same goes for `import ava + // = require('ava')` syntax. + // + // Add `test.default` to make this work. Use a proxy to avoid + // `test.default.default` chains. Object.defineProperty(root, 'default', { configurable: false, enumerable: false, diff --git a/node_modules/ava/lib/eslint-plugin-helper-worker.js b/node_modules/ava/lib/eslint-plugin-helper-worker.js index e53bca401c..fb7ce60541 100644 --- a/node_modules/ava/lib/eslint-plugin-helper-worker.js +++ b/node_modules/ava/lib/eslint-plugin-helper-worker.js @@ -41,7 +41,7 @@ const buildGlobs = ({conf, providers, projectDir, overrideExtensions, overrideFi const resolveGlobs = async (projectDir, overrideExtensions, overrideFiles) => { if (!configCache.has(projectDir)) { - configCache.set(projectDir, loadConfig({resolveFrom: projectDir}).then(async conf => { + configCache.set(projectDir, loadConfig({resolveFrom: projectDir}).then(async ({config: conf}) => { const providers = await collectProviders({conf, projectDir}); return {conf, providers}; })); diff --git a/node_modules/ava/lib/load-config.js b/node_modules/ava/lib/load-config.js index e02809ed3b..e3c70fd708 100644 --- a/node_modules/ava/lib/load-config.js +++ b/node_modules/ava/lib/load-config.js @@ -20,14 +20,15 @@ const importConfig = async ({configFile, fileForErrorMessage}) => { }; const loadConfigFile = async ({projectDir, configFile}) => { - if (!fs.existsSync(configFile)) { - return null; - } - const fileForErrorMessage = path.relative(projectDir, configFile); try { + await fs.promises.access(configFile); return {config: await importConfig({configFile, fileForErrorMessage}), configFile, fileForErrorMessage}; } catch (error) { + if (error.code === 'ENOENT') { + return null; + } + throw Object.assign(new Error(`Error loading ${fileForErrorMessage}: ${error.message}`), {parent: error}); } }; @@ -63,6 +64,20 @@ async function findRepoRoot(fromDir) { return root; } +async function checkJsonFile(searchDir) { + const file = path.join(searchDir, 'ava.config.json'); + try { + await fs.promises.access(file); + return file; + } catch (error) { + if (error.code === 'ENOENT') { + return null; + } + + throw error; + } +} + export async function loadConfig({configFile, resolveFrom = process.cwd(), defaults = {}} = {}) { let packageConf = await packageConfig('ava', {cwd: resolveFrom}); const filepath = packageJsonPath(packageConf); @@ -74,6 +89,7 @@ export async function loadConfig({configFile, resolveFrom = process.cwd(), defau const allowConflictWithPackageJson = Boolean(configFile); configFile = resolveConfigFile(configFile); + const unsupportedFiles = []; let fileConf = NO_SUCH_FILE; let fileForErrorMessage; let conflicting = []; @@ -86,12 +102,17 @@ export async function loadConfig({configFile, resolveFrom = process.cwd(), defau let searchDir = projectDir; const stopAt = path.dirname(repoRoot); do { - const results = await Promise.all([ // eslint-disable-line no-await-in-loop + const [jsonFile, ...results] = await Promise.all([ // eslint-disable-line no-await-in-loop + checkJsonFile(searchDir), loadConfigFile({projectDir, configFile: path.join(searchDir, 'ava.config.js')}), loadConfigFile({projectDir, configFile: path.join(searchDir, 'ava.config.cjs')}), loadConfigFile({projectDir, configFile: path.join(searchDir, 'ava.config.mjs')}), ]); + if (jsonFile !== null) { + unsupportedFiles.push(jsonFile); + } + [{config: fileConf, fileForErrorMessage, configFile} = {config: NO_SUCH_FILE, fileForErrorMessage: undefined}, ...conflicting] = results.filter(result => result !== null); searchDir = path.dirname(searchDir); @@ -139,5 +160,5 @@ export async function loadConfig({configFile, resolveFrom = process.cwd(), defau } } - return config; + return {config, unsupportedFiles}; } diff --git a/node_modules/ava/lib/reporters/default.js b/node_modules/ava/lib/reporters/default.js index bc74d5c02b..8a612deef6 100644 --- a/node_modules/ava/lib/reporters/default.js +++ b/node_modules/ava/lib/reporters/default.js @@ -220,6 +220,9 @@ export default class Reporter { this.lineNumberErrors.push(event); this.write(colors.information(`${figures.warning} Could not parse ${this.relativeFile(event.testFile)} for line number selection`)); + this.lineWriter.writeLine(); + this.lineWriter.writeLine(colors.errorStack(event.err.stack)); + this.lineWriter.writeLine(); break; } @@ -231,7 +234,7 @@ export default class Reporter { } case 'hook-finished': { - if (true && event.logs.length > 0) { + if (event.logs.length > 0) { this.lineWriter.writeLine(` ${this.prefixTitle(event.testFile, event.title)}`); this.writeLogs(event); } @@ -312,7 +315,7 @@ export default class Reporter { this.filesWithoutMatchedLineNumbers.add(event.testFile); this.lineWriter.writeLine(colors.error(`${figures.cross} Line numbers for ${this.relativeFile(event.testFile)} did not match any tests`)); - } else if (true && !this.failFastEnabled && fileStats.remainingTests > 0) { + } else if (!this.failFastEnabled && fileStats.remainingTests > 0) { this.lineWriter.writeLine(colors.error(`${figures.cross} ${fileStats.remainingTests} ${plur('test', fileStats.remainingTests)} remaining in ${this.relativeFile(event.testFile)}`)); } } @@ -515,7 +518,8 @@ export default class Reporter { writeFailure(event) { this.lineWriter.writeLine(colors.title(this.prefixTitle(event.testFile, event.title))); - if (!this.writeLogs(event, true)) { + + if (!event.logs || event.logs.length === 0) { this.lineWriter.writeLine(); } @@ -570,17 +574,12 @@ export default class Reporter { this.lineWriter.writeLine(); if (this.failures.length > 0) { - const writeTrailingLines = this.internalErrors.length > 0 || this.sharedWorkerErrors.length > 0 || this.uncaughtExceptions.length > 0 || this.unhandledRejections.length > 0; - const lastFailure = this.failures[this.failures.length - 1]; for (const event of this.failures) { this.writeFailure(event); if (event !== lastFailure) { this.lineWriter.writeLine(); this.lineWriter.writeLine(); - } else if (!true && writeTrailingLines) { - this.lineWriter.writeLine(); - this.lineWriter.writeLine(); } } @@ -659,6 +658,10 @@ export default class Reporter { this.lineWriter.writeLine(colors.error(`${this.stats.uncaughtExceptions} uncaught ${plur('exception', this.stats.uncaughtExceptions)}`)); } + if (this.stats.timeouts > 0) { + this.lineWriter.writeLine(colors.error(`${this.stats.timeouts} ${plur('test', this.stats.timeouts)} remained pending after a timeout`)); + } + if (this.previousFailures > 0) { this.lineWriter.writeLine(colors.error(`${this.previousFailures} previous ${plur('failure', this.previousFailures)} in test files that were not rerun`)); } diff --git a/node_modules/ava/lib/reporters/tap.js b/node_modules/ava/lib/reporters/tap.js index 60d2944d78..51a55cdb6a 100644 --- a/node_modules/ava/lib/reporters/tap.js +++ b/node_modules/ava/lib/reporters/tap.js @@ -4,7 +4,7 @@ import path from 'node:path'; import indentString from 'indent-string'; import plur from 'plur'; import stripAnsi from 'strip-ansi'; -import supertap from 'supertap'; +import * as supertap from 'supertap'; import beautifyStack from './beautify-stack.js'; import prefixTitle from './prefix-title.js'; diff --git a/node_modules/ava/lib/run-status.js b/node_modules/ava/lib/run-status.js index a18f4e1af3..7d6b26c015 100644 --- a/node_modules/ava/lib/run-status.js +++ b/node_modules/ava/lib/run-status.js @@ -125,7 +125,10 @@ export default class RunStatus extends Emittery { case 'timeout': event.pendingTests = this.pendingTests; this.pendingTests = new Map(); - stats.timeouts++; + for (const testsInFile of event.pendingTests.values()) { + stats.timeouts += testsInFile.size; + } + break; case 'interrupt': event.pendingTests = this.pendingTests; diff --git a/node_modules/ava/lib/runner.js b/node_modules/ava/lib/runner.js index 11539446ef..181e287581 100644 --- a/node_modules/ava/lib/runner.js +++ b/node_modules/ava/lib/runner.js @@ -524,7 +524,7 @@ export default class Runner extends Emittery { // If a concurrent test fails, even if `failFast` is enabled it won't // stop other concurrent tests from running. const allOkays = await Promise.all(concurrentTests.map(task => this.runTest(task, contextRef.copy()))); - return allOkays.every(ok => ok); + return allOkays.every(Boolean); }); const beforeExitHandler = this.beforeExitHandler.bind(this); diff --git a/node_modules/ava/lib/snapshot-manager.js b/node_modules/ava/lib/snapshot-manager.js index 3e3b4b89d2..c0a8922ec7 100644 --- a/node_modules/ava/lib/snapshot-manager.js +++ b/node_modules/ava/lib/snapshot-manager.js @@ -391,7 +391,9 @@ class Manager { const resolveSourceFile = mem(file => { const sourceMap = findSourceMap(file); - if (sourceMap === undefined) { + // Prior to Node.js 18.8.0, the value when a source map could not be found was `undefined`. + // This changed to `null` in . Check both. + if (sourceMap === undefined || sourceMap === null) { return file; } diff --git a/node_modules/ava/lib/test.js b/node_modules/ava/lib/test.js index 7c10ca1af6..d2bb93e2e7 100644 --- a/node_modules/ava/lib/test.js +++ b/node_modules/ava/lib/test.js @@ -24,16 +24,16 @@ const testMap = new WeakMap(); class ExecutionContext extends Assertions { constructor(test) { super({ - pass: () => { + pass() { test.countPassedAssertion(); }, - pending: promise => { + pending(promise) { test.addPendingAssertion(promise); }, - fail: error => { + fail(error) { test.addFailedAssertion(error); }, - skip: () => { + skip() { test.countPassedAssertion(); }, compareWithSnapshot: options => test.compareWithSnapshot(options), @@ -109,7 +109,7 @@ class ExecutionContext extends Assertions { logs: [...logs], // Don't allow modification of logs. passed, title: attemptTitle, - commit: ({retainLogs = true} = {}) => { + commit({retainLogs = true} = {}) { if (committed) { return; } @@ -132,7 +132,7 @@ class ExecutionContext extends Assertions { startingSnapshotCount, }); }, - discard: ({retainLogs = false} = {}) => { + discard({retainLogs = false} = {}) { if (committed) { test.saveFirstError(new Error('Can’t discard a result that was previously committed')); return; diff --git a/node_modules/ava/lib/worker/line-numbers.js b/node_modules/ava/lib/worker/line-numbers.js index c7865f85fa..4e8013defa 100644 --- a/node_modules/ava/lib/worker/line-numbers.js +++ b/node_modules/ava/lib/worker/line-numbers.js @@ -61,11 +61,18 @@ function findTest(locations, declaration) { const range = (start, end) => Array.from({length: end - start + 1}).fill(start).map((element, index) => element + index); const translate = (sourceMap, pos) => { - if (sourceMap === undefined) { + if (sourceMap === null) { return pos; } const entry = sourceMap.findEntry(pos.line - 1, pos.column); // Source maps are 0-based + + // When used with ts-node/register, we've seen entries without original values. Return the + // original position. + if (entry.originalLine === undefined || entry.originalColumn === undefined) { + return pos; + } + return { line: entry.originalLine + 1, // Readjust for Acorn. column: entry.originalColumn, @@ -81,7 +88,7 @@ export default function lineNumberSelection({file, lineNumbers = []}) { let locations = parse(file); let lookedForSourceMap = false; - let sourceMap; + let sourceMap = null; return () => { if (!lookedForSourceMap) { @@ -91,7 +98,13 @@ export default function lineNumberSelection({file, lineNumbers = []}) { // Source maps are not available before then. sourceMap = findSourceMap(file); - if (sourceMap !== undefined) { + if (sourceMap === undefined) { + // Prior to Node.js 18.8.0, the value when a source map could not be found was `undefined`. + // This changed to `null` in . + sourceMap = null; + } + + if (sourceMap !== null) { locations = locations.map(({start, end}) => ({ start: translate(sourceMap, start), end: translate(sourceMap, end), diff --git a/node_modules/ava/node_modules/acorn/CHANGELOG.md b/node_modules/ava/node_modules/acorn/CHANGELOG.md index d19b5f1bad..ea8d6c04db 100644 --- a/node_modules/ava/node_modules/acorn/CHANGELOG.md +++ b/node_modules/ava/node_modules/acorn/CHANGELOG.md @@ -1,3 +1,25 @@ +## 8.8.0 (2022-07-21) + +### Bug fixes + +Allow parentheses around spread args in destructuring object assignment. + +Fix an issue where the tree contained `directive` properties in when parsing with a language version that doesn't support them. + +### New features + +Support hashbang comments by default in ECMAScript 2023 and later. + +## 8.7.1 (2021-04-26) + +### Bug fixes + +Stop handling `"use strict"` directives in ECMAScript versions before 5. + +Fix an issue where duplicate quoted export names in `export *` syntax were incorrectly checked. + +Add missing type for `tokTypes`. + ## 8.7.0 (2021-12-27) ### New features diff --git a/node_modules/ava/node_modules/acorn/LICENSE b/node_modules/ava/node_modules/acorn/LICENSE index d6be6db2cf..9d71cc63a3 100644 --- a/node_modules/ava/node_modules/acorn/LICENSE +++ b/node_modules/ava/node_modules/acorn/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (C) 2012-2020 by various contributors (see AUTHORS) +Copyright (C) 2012-2022 by various contributors (see AUTHORS) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/node_modules/ava/node_modules/acorn/README.md b/node_modules/ava/node_modules/acorn/README.md index 601e86c8fd..61e7dd35ed 100644 --- a/node_modules/ava/node_modules/acorn/README.md +++ b/node_modules/ava/node_modules/acorn/README.md @@ -54,10 +54,10 @@ required): - **ecmaVersion**: Indicates the ECMAScript version to parse. Must be either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10 (2019), - 11 (2020), 12 (2021), 13 (2022, partial support) - or `"latest"` (the latest the library supports). This influences - support for strict mode, the set of reserved words, and support - for new syntax features. + 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `"latest"` (the + latest the library supports). This influences support for strict + mode, the set of reserved words, and support for new syntax + features. **NOTE**: Only 'stage 4' (finalized) ECMAScript features are being implemented by Acorn. Other proposed new features must be @@ -104,9 +104,9 @@ required): - **allowSuperOutsideMethod**: By default, `super` outside a method raises an error. Set this to `true` to accept such code. -- **allowHashBang**: When this is enabled (off by default), if the - code starts with the characters `#!` (as in a shellscript), the - first line will be treated as a comment. +- **allowHashBang**: When this is enabled, if the code starts with the + characters `#!` (as in a shellscript), the first line will be + treated as a comment. Defaults to true when `ecmaVersion` >= 2023. - **locations**: When `true`, each node has a `loc` object attached with `start` and `end` subobjects, each of which contains the @@ -271,10 +271,3 @@ The utility spits out the syntax tree as JSON data. ## Existing plugins - [`acorn-jsx`](https://github.com/RReverser/acorn-jsx): Parse [Facebook JSX syntax extensions](https://github.com/facebook/jsx) - -Plugins for ECMAScript proposals: - - - [`acorn-stage3`](https://github.com/acornjs/acorn-stage3): Parse most stage 3 proposals, bundling: - - [`acorn-class-fields`](https://github.com/acornjs/acorn-class-fields): Parse [class fields proposal](https://github.com/tc39/proposal-class-fields) - - [`acorn-import-meta`](https://github.com/acornjs/acorn-import-meta): Parse [import.meta proposal](https://github.com/tc39/proposal-import-meta) - - [`acorn-private-methods`](https://github.com/acornjs/acorn-private-methods): parse [private methods, getters and setters proposal](https://github.com/tc39/proposal-private-methods)n diff --git a/node_modules/ava/node_modules/acorn/bin/acorn b/node_modules/ava/node_modules/acorn/bin/acorn index cf7df46890..3ef3c124b0 100755 --- a/node_modules/ava/node_modules/acorn/bin/acorn +++ b/node_modules/ava/node_modules/acorn/bin/acorn @@ -1,4 +1,4 @@ #!/usr/bin/env node -'use strict'; +"use strict" -require('../dist/bin.js'); +require("../dist/bin.js") diff --git a/node_modules/ava/node_modules/acorn/dist/acorn.d.ts b/node_modules/ava/node_modules/acorn/dist/acorn.d.ts index 861b357fea..140f6ed128 100644 --- a/node_modules/ava/node_modules/acorn/dist/acorn.d.ts +++ b/node_modules/ava/node_modules/acorn/dist/acorn.d.ts @@ -11,8 +11,10 @@ declare namespace acorn { [Symbol.iterator](): Iterator } + type ecmaVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 'latest' + interface Options { - ecmaVersion: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 'latest' + ecmaVersion: ecmaVersion sourceType?: 'script' | 'module' onInsertedSemicolon?: (lastTokEnd: number, lastTokEndLoc?: Position) => void onTrailingComma?: (lastTokEnd: number, lastTokEndLoc?: Position) => void @@ -36,8 +38,41 @@ declare namespace acorn { } class Parser { + // state.js + lineStart: number; + options: Options; + curLine: number; + start: number; + end: number; + input: string; + type: TokenType; + + // state.js constructor(options: Options, input: string, startPos?: number) parse(this: Parser): Node + + // tokenize.js + next(): void; + nextToken(): void; + + // statement.js + parseTopLevel(node: Node): Node; + + // node.js + finishNode(node: Node, type: string): Node; + finishNodeAt(node: Node, type: string, pos: number, loc: Position): Node; + + // location.js + raise(pos: number, message: string) : void; + raiseRecoverable?(pos: number, message: string) : void; + + // parseutils.js + unexpected(pos: number) : void; + + // index.js + static acorn: typeof acorn; + + // state.js static parse(this: typeof Parser, input: string, options: Options): Node static parseExpressionAt(this: typeof Parser, input: string, pos: number, options: Options): Node static tokenizer(this: typeof Parser, input: string, options: Options): { @@ -102,8 +137,10 @@ declare namespace acorn { colon: TokenType dot: TokenType question: TokenType + questionDot: TokenType arrow: TokenType template: TokenType + invalidTemplate: TokenType ellipsis: TokenType backQuote: TokenType dollarBraceL: TokenType @@ -124,6 +161,7 @@ declare namespace acorn { star: TokenType slash: TokenType starstar: TokenType + coalesce: TokenType _break: TokenType _case: TokenType _catch: TokenType diff --git a/node_modules/ava/node_modules/acorn/dist/acorn.js b/node_modules/ava/node_modules/acorn/dist/acorn.js index 2d279e9fa8..8e8b225b0b 100644 --- a/node_modules/ava/node_modules/acorn/dist/acorn.js +++ b/node_modules/ava/node_modules/acorn/dist/acorn.js @@ -4,6 +4,20 @@ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.acorn = {})); })(this, (function (exports) { 'use strict'; + // This file was generated. Do not modify manually! + var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 357, 0, 62, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; + + // This file was generated. Do not modify manually! + var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1070, 4050, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 46, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 482, 44, 11, 6, 17, 0, 322, 29, 19, 43, 1269, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4152, 8, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938]; + + // This file was generated. Do not modify manually! + var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"; + + // This file was generated. Do not modify manually! + var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; + + // These are a run-length and offset encoded representation of the + // Reserved word lists for various dialects of the language var reservedWords = { @@ -28,31 +42,9 @@ // ## Character categories - // Big ugly regular expressions that match characters in the - // whitespace, identifier, and identifier-start categories. These - // are only applied when a character is found to actually have a - // code point above 128. - // Generated by `bin/generate-identifier-regex.js`. - var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; - var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"; - var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); - nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; - - // These are a run-length and offset encoded representation of the - // >0xffff code points that are a valid part of identifiers. The - // offset starts at 0x10000, and each pair of numbers represents an - // offset to the next range, and then a size of the range. They were - // generated by bin/generate-identifier-regex.js - - // eslint-disable-next-line comma-spacing - var astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938]; - - // eslint-disable-next-line comma-spacing - var astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239]; - // This has a complexity linear to the value of the code. The // assumption is that looking up astral identifier characters is // rare. @@ -287,6 +279,13 @@ return new RegExp("^(?:" + words.replace(/ /g, "|") + ")$") } + function codePointToString(code) { + // UTF-16 Decoding + if (code <= 0xFFFF) { return String.fromCharCode(code) } + code -= 0x10000; + return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00) + } + var loneSurrogate = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/; // These are used when `options.locations` is on, for the @@ -328,10 +327,10 @@ var defaultOptions = { // `ecmaVersion` indicates the ECMAScript version to parse. Must be // either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10 - // (2019), 11 (2020), 12 (2021), 13 (2022), or `"latest"` (the - // latest version the library supports). This influences support - // for strict mode, the set of reserved words, and support for - // new syntax features. + // (2019), 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `"latest"` + // (the latest version the library supports). This influences + // support for strict mode, the set of reserved words, and support + // for new syntax features. ecmaVersion: null, // `sourceType` indicates the mode the code should be parsed in. // Can be either `"script"` or `"module"`. This influences global @@ -365,8 +364,9 @@ // When enabled, super identifiers are not constrained to // appearing in methods and do not raise an error when they appear elsewhere. allowSuperOutsideMethod: null, - // When enabled, hashbang directive in the beginning of file - // is allowed and treated as a line comment. + // When enabled, hashbang directive in the beginning of file is + // allowed and treated as a line comment. Enabled by default when + // `ecmaVersion` >= 2023. allowHashBang: false, // When `locations` is on, `loc` properties holding objects with // `start` and `end` properties in `{line, column}` form (with @@ -441,6 +441,9 @@ if (options.allowReserved == null) { options.allowReserved = options.ecmaVersion < 5; } + if (opts.allowHashBang == null) + { options.allowHashBang = options.ecmaVersion >= 14; } + if (isArray(options.onToken)) { var tokens = options.onToken; options.onToken = function (token) { return tokens.push(token); }; @@ -654,6 +657,7 @@ var literal = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/; pp$9.strictDirective = function(start) { + if (this.options.ecmaVersion < 5) { return false } for (;;) { // Try to find string literal. skipWhiteSpace.lastIndex = start; @@ -756,21 +760,21 @@ this.raise(pos != null ? pos : this.start, "Unexpected token"); }; - function DestructuringErrors() { + var DestructuringErrors = function DestructuringErrors() { this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1; - } + }; pp$9.checkPatternErrors = function(refDestructuringErrors, isAssign) { if (!refDestructuringErrors) { return } if (refDestructuringErrors.trailingComma > -1) { this.raiseRecoverable(refDestructuringErrors.trailingComma, "Comma is not permitted after the rest element"); } var parens = isAssign ? refDestructuringErrors.parenthesizedAssign : refDestructuringErrors.parenthesizedBind; - if (parens > -1) { this.raiseRecoverable(parens, "Parenthesized pattern"); } + if (parens > -1) { this.raiseRecoverable(parens, isAssign ? "Assigning to rvalue" : "Parenthesized pattern"); } }; pp$9.checkExpressionErrors = function(refDestructuringErrors, andThrow) { @@ -1644,7 +1648,7 @@ if (this.options.ecmaVersion >= 11) { if (this.eatContextual("as")) { node.exported = this.parseModuleExportName(); - this.checkExport(exports, node.exported.name, this.lastTokStart); + this.checkExport(exports, node.exported, this.lastTokStart); } else { node.exported = null; } @@ -1678,7 +1682,7 @@ if (node.declaration.type === "VariableDeclaration") { this.checkVariableExport(exports, node.declaration.declarations); } else - { this.checkExport(exports, node.declaration.id.name, node.declaration.id.start); } + { this.checkExport(exports, node.declaration.id, node.declaration.id.start); } node.specifiers = []; node.source = null; } else { // export { x, y as z } [from '...'] @@ -1710,6 +1714,8 @@ pp$8.checkExport = function(exports, name, pos) { if (!exports) { return } + if (typeof name !== "string") + { name = name.type === "Identifier" ? name.name : name.value; } if (hasOwn(exports, name)) { this.raiseRecoverable(pos, "Duplicate export '" + name + "'"); } exports[name] = true; @@ -1718,7 +1724,7 @@ pp$8.checkPatternExport = function(exports, pat) { var type = pat.type; if (type === "Identifier") - { this.checkExport(exports, pat.name, pat.start); } + { this.checkExport(exports, pat, pat.start); } else if (type === "ObjectPattern") { for (var i = 0, list = pat.properties; i < list.length; i += 1) { @@ -1778,7 +1784,7 @@ node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local; this.checkExport( exports, - node.exported[node.exported.type === "Identifier" ? "name" : "value"], + node.exported, node.exported.start ); nodes.push(this.finishNode(node, "ExportSpecifier")); @@ -1864,6 +1870,7 @@ }; pp$8.isDirectiveCandidate = function(statement) { return ( + this.options.ecmaVersion >= 5 && statement.type === "ExpressionStatement" && statement.expression.type === "Literal" && typeof statement.expression.value === "string" && @@ -2274,7 +2281,8 @@ { this.exprAllowed = type.beforeExpr; } }; - // Used to handle egde case when token context could not be inferred correctly in tokenize phase + // Used to handle egde cases when token context could not be inferred correctly during tokenization phase + pp$6.overrideContext = function(tokenCtx) { if (this.curContext() !== tokenCtx) { this.context[this.context.length - 1] = tokenCtx; @@ -3090,15 +3098,6 @@ } return this.finishNode(prop, "RestElement") } - // To disallow parenthesized identifier via `this.toAssignable()`. - if (this.type === types$1.parenL && refDestructuringErrors) { - if (refDestructuringErrors.parenthesizedAssign < 0) { - refDestructuringErrors.parenthesizedAssign = this.start; - } - if (refDestructuringErrors.parenthesizedBind < 0) { - refDestructuringErrors.parenthesizedBind = this.start; - } - } // Parse argument. prop.argument = this.parseMaybeAssign(false, refDestructuringErrors); // To disallow trailing comma via `this.toAssignable()`. @@ -3768,12 +3767,6 @@ return false }; - function codePointToString$1(ch) { - if (ch <= 0xFFFF) { return String.fromCharCode(ch) } - ch -= 0x10000; - return String.fromCharCode((ch >> 10) + 0xD800, (ch & 0x03FF) + 0xDC00) - } - /** * Validate the flags part of a given RegExpLiteral. * @@ -4138,9 +4131,9 @@ pp$1.regexp_eatRegExpIdentifierName = function(state) { state.lastStringValue = ""; if (this.regexp_eatRegExpIdentifierStart(state)) { - state.lastStringValue += codePointToString$1(state.lastIntValue); + state.lastStringValue += codePointToString(state.lastIntValue); while (this.regexp_eatRegExpIdentifierPart(state)) { - state.lastStringValue += codePointToString$1(state.lastIntValue); + state.lastStringValue += codePointToString(state.lastIntValue); } return true } @@ -4492,7 +4485,7 @@ var ch = 0; state.lastStringValue = ""; while (isUnicodePropertyNameCharacter(ch = state.current())) { - state.lastStringValue += codePointToString$1(ch); + state.lastStringValue += codePointToString(ch); state.advance(); } return state.lastStringValue !== "" @@ -4507,7 +4500,7 @@ var ch = 0; state.lastStringValue = ""; while (isUnicodePropertyValueCharacter(ch = state.current())) { - state.lastStringValue += codePointToString$1(ch); + state.lastStringValue += codePointToString(ch); state.advance(); } return state.lastStringValue !== "" @@ -5290,13 +5283,6 @@ return code }; - function codePointToString(code) { - // UTF-16 Decoding - if (code <= 0xFFFF) { return String.fromCharCode(code) } - code -= 0x10000; - return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00) - } - pp.readString = function(quote) { var out = "", chunkStart = ++this.pos; for (;;) { @@ -5541,7 +5527,7 @@ // Acorn is a tiny, fast JavaScript parser written in JavaScript. - var version = "8.7.0"; + var version = "8.8.0"; Parser.acorn = { Parser: Parser, diff --git a/node_modules/ava/node_modules/acorn/dist/acorn.mjs b/node_modules/ava/node_modules/acorn/dist/acorn.mjs index e99e9b30e1..5ae045a7f2 100644 --- a/node_modules/ava/node_modules/acorn/dist/acorn.mjs +++ b/node_modules/ava/node_modules/acorn/dist/acorn.mjs @@ -1,3 +1,17 @@ +// This file was generated. Do not modify manually! +var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 357, 0, 62, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; + +// This file was generated. Do not modify manually! +var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1070, 4050, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 46, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 482, 44, 11, 6, 17, 0, 322, 29, 19, 43, 1269, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4152, 8, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938]; + +// This file was generated. Do not modify manually! +var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"; + +// This file was generated. Do not modify manually! +var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; + +// These are a run-length and offset encoded representation of the + // Reserved word lists for various dialects of the language var reservedWords = { @@ -22,31 +36,9 @@ var keywordRelationalOperator = /^in(stanceof)?$/; // ## Character categories -// Big ugly regular expressions that match characters in the -// whitespace, identifier, and identifier-start categories. These -// are only applied when a character is found to actually have a -// code point above 128. -// Generated by `bin/generate-identifier-regex.js`. -var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; -var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"; - var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); -nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; - -// These are a run-length and offset encoded representation of the -// >0xffff code points that are a valid part of identifiers. The -// offset starts at 0x10000, and each pair of numbers represents an -// offset to the next range, and then a size of the range. They were -// generated by bin/generate-identifier-regex.js - -// eslint-disable-next-line comma-spacing -var astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938]; - -// eslint-disable-next-line comma-spacing -var astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239]; - // This has a complexity linear to the value of the code. The // assumption is that looking up astral identifier characters is // rare. @@ -281,6 +273,13 @@ function wordsRegexp(words) { return new RegExp("^(?:" + words.replace(/ /g, "|") + ")$") } +function codePointToString(code) { + // UTF-16 Decoding + if (code <= 0xFFFF) { return String.fromCharCode(code) } + code -= 0x10000; + return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00) +} + var loneSurrogate = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/; // These are used when `options.locations` is on, for the @@ -322,10 +321,10 @@ function getLineInfo(input, offset) { var defaultOptions = { // `ecmaVersion` indicates the ECMAScript version to parse. Must be // either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10 - // (2019), 11 (2020), 12 (2021), 13 (2022), or `"latest"` (the - // latest version the library supports). This influences support - // for strict mode, the set of reserved words, and support for - // new syntax features. + // (2019), 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `"latest"` + // (the latest version the library supports). This influences + // support for strict mode, the set of reserved words, and support + // for new syntax features. ecmaVersion: null, // `sourceType` indicates the mode the code should be parsed in. // Can be either `"script"` or `"module"`. This influences global @@ -359,8 +358,9 @@ var defaultOptions = { // When enabled, super identifiers are not constrained to // appearing in methods and do not raise an error when they appear elsewhere. allowSuperOutsideMethod: null, - // When enabled, hashbang directive in the beginning of file - // is allowed and treated as a line comment. + // When enabled, hashbang directive in the beginning of file is + // allowed and treated as a line comment. Enabled by default when + // `ecmaVersion` >= 2023. allowHashBang: false, // When `locations` is on, `loc` properties holding objects with // `start` and `end` properties in `{line, column}` form (with @@ -435,6 +435,9 @@ function getOptions(opts) { if (options.allowReserved == null) { options.allowReserved = options.ecmaVersion < 5; } + if (opts.allowHashBang == null) + { options.allowHashBang = options.ecmaVersion >= 14; } + if (isArray(options.onToken)) { var tokens = options.onToken; options.onToken = function (token) { return tokens.push(token); }; @@ -648,6 +651,7 @@ var pp$9 = Parser.prototype; var literal = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/; pp$9.strictDirective = function(start) { + if (this.options.ecmaVersion < 5) { return false } for (;;) { // Try to find string literal. skipWhiteSpace.lastIndex = start; @@ -750,21 +754,21 @@ pp$9.unexpected = function(pos) { this.raise(pos != null ? pos : this.start, "Unexpected token"); }; -function DestructuringErrors() { +var DestructuringErrors = function DestructuringErrors() { this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1; -} +}; pp$9.checkPatternErrors = function(refDestructuringErrors, isAssign) { if (!refDestructuringErrors) { return } if (refDestructuringErrors.trailingComma > -1) { this.raiseRecoverable(refDestructuringErrors.trailingComma, "Comma is not permitted after the rest element"); } var parens = isAssign ? refDestructuringErrors.parenthesizedAssign : refDestructuringErrors.parenthesizedBind; - if (parens > -1) { this.raiseRecoverable(parens, "Parenthesized pattern"); } + if (parens > -1) { this.raiseRecoverable(parens, isAssign ? "Assigning to rvalue" : "Parenthesized pattern"); } }; pp$9.checkExpressionErrors = function(refDestructuringErrors, andThrow) { @@ -1638,7 +1642,7 @@ pp$8.parseExport = function(node, exports) { if (this.options.ecmaVersion >= 11) { if (this.eatContextual("as")) { node.exported = this.parseModuleExportName(); - this.checkExport(exports, node.exported.name, this.lastTokStart); + this.checkExport(exports, node.exported, this.lastTokStart); } else { node.exported = null; } @@ -1672,7 +1676,7 @@ pp$8.parseExport = function(node, exports) { if (node.declaration.type === "VariableDeclaration") { this.checkVariableExport(exports, node.declaration.declarations); } else - { this.checkExport(exports, node.declaration.id.name, node.declaration.id.start); } + { this.checkExport(exports, node.declaration.id, node.declaration.id.start); } node.specifiers = []; node.source = null; } else { // export { x, y as z } [from '...'] @@ -1704,6 +1708,8 @@ pp$8.parseExport = function(node, exports) { pp$8.checkExport = function(exports, name, pos) { if (!exports) { return } + if (typeof name !== "string") + { name = name.type === "Identifier" ? name.name : name.value; } if (hasOwn(exports, name)) { this.raiseRecoverable(pos, "Duplicate export '" + name + "'"); } exports[name] = true; @@ -1712,7 +1718,7 @@ pp$8.checkExport = function(exports, name, pos) { pp$8.checkPatternExport = function(exports, pat) { var type = pat.type; if (type === "Identifier") - { this.checkExport(exports, pat.name, pat.start); } + { this.checkExport(exports, pat, pat.start); } else if (type === "ObjectPattern") { for (var i = 0, list = pat.properties; i < list.length; i += 1) { @@ -1772,7 +1778,7 @@ pp$8.parseExportSpecifiers = function(exports) { node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local; this.checkExport( exports, - node.exported[node.exported.type === "Identifier" ? "name" : "value"], + node.exported, node.exported.start ); nodes.push(this.finishNode(node, "ExportSpecifier")); @@ -1858,6 +1864,7 @@ pp$8.adaptDirectivePrologue = function(statements) { }; pp$8.isDirectiveCandidate = function(statement) { return ( + this.options.ecmaVersion >= 5 && statement.type === "ExpressionStatement" && statement.expression.type === "Literal" && typeof statement.expression.value === "string" && @@ -2268,7 +2275,8 @@ pp$6.updateContext = function(prevType) { { this.exprAllowed = type.beforeExpr; } }; -// Used to handle egde case when token context could not be inferred correctly in tokenize phase +// Used to handle egde cases when token context could not be inferred correctly during tokenization phase + pp$6.overrideContext = function(tokenCtx) { if (this.curContext() !== tokenCtx) { this.context[this.context.length - 1] = tokenCtx; @@ -3084,15 +3092,6 @@ pp$5.parseProperty = function(isPattern, refDestructuringErrors) { } return this.finishNode(prop, "RestElement") } - // To disallow parenthesized identifier via `this.toAssignable()`. - if (this.type === types$1.parenL && refDestructuringErrors) { - if (refDestructuringErrors.parenthesizedAssign < 0) { - refDestructuringErrors.parenthesizedAssign = this.start; - } - if (refDestructuringErrors.parenthesizedBind < 0) { - refDestructuringErrors.parenthesizedBind = this.start; - } - } // Parse argument. prop.argument = this.parseMaybeAssign(false, refDestructuringErrors); // To disallow trailing comma via `this.toAssignable()`. @@ -3762,12 +3761,6 @@ RegExpValidationState.prototype.eat = function eat (ch, forceU) { return false }; -function codePointToString$1(ch) { - if (ch <= 0xFFFF) { return String.fromCharCode(ch) } - ch -= 0x10000; - return String.fromCharCode((ch >> 10) + 0xD800, (ch & 0x03FF) + 0xDC00) -} - /** * Validate the flags part of a given RegExpLiteral. * @@ -4132,9 +4125,9 @@ pp$1.regexp_eatGroupName = function(state) { pp$1.regexp_eatRegExpIdentifierName = function(state) { state.lastStringValue = ""; if (this.regexp_eatRegExpIdentifierStart(state)) { - state.lastStringValue += codePointToString$1(state.lastIntValue); + state.lastStringValue += codePointToString(state.lastIntValue); while (this.regexp_eatRegExpIdentifierPart(state)) { - state.lastStringValue += codePointToString$1(state.lastIntValue); + state.lastStringValue += codePointToString(state.lastIntValue); } return true } @@ -4486,7 +4479,7 @@ pp$1.regexp_eatUnicodePropertyName = function(state) { var ch = 0; state.lastStringValue = ""; while (isUnicodePropertyNameCharacter(ch = state.current())) { - state.lastStringValue += codePointToString$1(ch); + state.lastStringValue += codePointToString(ch); state.advance(); } return state.lastStringValue !== "" @@ -4501,7 +4494,7 @@ pp$1.regexp_eatUnicodePropertyValue = function(state) { var ch = 0; state.lastStringValue = ""; while (isUnicodePropertyValueCharacter(ch = state.current())) { - state.lastStringValue += codePointToString$1(ch); + state.lastStringValue += codePointToString(ch); state.advance(); } return state.lastStringValue !== "" @@ -5284,13 +5277,6 @@ pp.readCodePoint = function() { return code }; -function codePointToString(code) { - // UTF-16 Decoding - if (code <= 0xFFFF) { return String.fromCharCode(code) } - code -= 0x10000; - return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00) -} - pp.readString = function(quote) { var out = "", chunkStart = ++this.pos; for (;;) { @@ -5535,7 +5521,7 @@ pp.readWord = function() { // Acorn is a tiny, fast JavaScript parser written in JavaScript. -var version = "8.7.0"; +var version = "8.8.0"; Parser.acorn = { Parser: Parser, diff --git a/node_modules/ava/node_modules/acorn/package.json b/node_modules/ava/node_modules/acorn/package.json index d7948c8b45..896061c412 100644 --- a/node_modules/ava/node_modules/acorn/package.json +++ b/node_modules/ava/node_modules/acorn/package.json @@ -16,7 +16,7 @@ ], "./package.json": "./package.json" }, - "version": "8.7.0", + "version": "8.8.0", "engines": { "node": ">=0.4.0" }, diff --git a/node_modules/ava/node_modules/aggregate-error/index.js b/node_modules/ava/node_modules/aggregate-error/index.js index f38734b9f1..ec1a7d5ec5 100644 --- a/node_modules/ava/node_modules/aggregate-error/index.js +++ b/node_modules/ava/node_modules/aggregate-error/index.js @@ -29,7 +29,7 @@ export default class AggregateError extends Error { let message = errors .map(error => { // The `stack` property is not standardized, so we can't assume it exists - return typeof error.stack === 'string' ? cleanInternalStack(cleanStack(error.stack)) : String(error); + return typeof error.stack === 'string' && error.stack.length > 0 ? cleanInternalStack(cleanStack(error.stack)) : String(error); }) .join('\n'); message = '\n' + indentString(message, 4); diff --git a/node_modules/ava/node_modules/aggregate-error/package.json b/node_modules/ava/node_modules/aggregate-error/package.json index f087c7184e..4d01972a3e 100644 --- a/node_modules/ava/node_modules/aggregate-error/package.json +++ b/node_modules/ava/node_modules/aggregate-error/package.json @@ -1,6 +1,6 @@ { "name": "aggregate-error", - "version": "4.0.0", + "version": "4.0.1", "description": "Create an error from multiple errors", "license": "MIT", "repository": "sindresorhus/aggregate-error", diff --git a/node_modules/ava/node_modules/array-union/index.d.ts b/node_modules/ava/node_modules/array-union/index.d.ts deleted file mode 100644 index 379fc1d2f5..0000000000 --- a/node_modules/ava/node_modules/array-union/index.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** -Create an array of unique values, in order, from the input arrays. - -@example -``` -import arrayUnion = require('array-union'); - -arrayUnion([1, 1, 2, 3], [2, 3]); -//=> [1, 2, 3] - -arrayUnion(['foo', 'foo', 'bar']); -//=> ['foo', 'bar'] - -arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']); -//=> ['🐱', '🦄', '🐻', '🌈'] - -arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']); -//=> ['🐱', '🦄', '🐻', '🐶', '🌈'] -``` -*/ -declare function arrayUnion( - ...arguments: readonly ArgumentsType[] -): ArgumentsType; - -export = arrayUnion; diff --git a/node_modules/ava/node_modules/array-union/index.js b/node_modules/ava/node_modules/array-union/index.js deleted file mode 100644 index a5a3df85f5..0000000000 --- a/node_modules/ava/node_modules/array-union/index.js +++ /dev/null @@ -1,3 +0,0 @@ -const arrayUnion = (...arguments_) => [...new Set(arguments_.flat())]; - -export default arrayUnion; diff --git a/node_modules/ava/node_modules/array-union/readme.md b/node_modules/ava/node_modules/array-union/readme.md deleted file mode 100644 index b0b67fbdff..0000000000 --- a/node_modules/ava/node_modules/array-union/readme.md +++ /dev/null @@ -1,39 +0,0 @@ -# array-union - -> Create an array of unique values, in order, from the input arrays - -## Install - -``` -$ npm install array-union -``` - -## Usage - -```js -import arrayUnion from 'array-union'; - -arrayUnion([1, 1, 2, 3], [2, 3]); -//=> [1, 2, 3] - -arrayUnion(['foo', 'foo', 'bar']); -//=> ['foo', 'bar'] - -arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']); -//=> ['🐱', '🦄', '🐻', '🌈'] - -arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']); -//=> ['🐱', '🦄', '🐻', '🐶', '🌈'] -``` - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/ava/node_modules/chalk/package.json b/node_modules/ava/node_modules/chalk/package.json index 1e61602b69..7193bff26e 100644 --- a/node_modules/ava/node_modules/chalk/package.json +++ b/node_modules/ava/node_modules/chalk/package.json @@ -1,11 +1,12 @@ { "name": "chalk", - "version": "5.0.0", + "version": "5.0.1", "description": "Terminal string styling done right", "license": "MIT", "repository": "chalk/chalk", "funding": "https://github.com/chalk/chalk?sponsor=1", "type": "module", + "main": "./source/index.js", "exports": "./source/index.js", "imports": { "#ansi-styles": "./source/vendor/ansi-styles/index.js", diff --git a/node_modules/ava/node_modules/clean-stack/index.js b/node_modules/ava/node_modules/clean-stack/index.js index 6bc7b1ba42..1c1ea8b0c5 100644 --- a/node_modules/ava/node_modules/clean-stack/index.js +++ b/node_modules/ava/node_modules/clean-stack/index.js @@ -25,7 +25,9 @@ export default function cleanStack(stack, {pretty = false, basePath} = {}) { // Electron if ( match.includes('.app/Contents/Resources/electron.asar') || - match.includes('.app/Contents/Resources/default_app.asar') + match.includes('.app/Contents/Resources/default_app.asar') || + match.includes('node_modules/electron/dist/resources/electron.asar') || + match.includes('node_modules/electron/dist/resources/default_app.asar') ) { return false; } diff --git a/node_modules/ava/node_modules/clean-stack/package.json b/node_modules/ava/node_modules/clean-stack/package.json index a35576ec7a..814fac653b 100644 --- a/node_modules/ava/node_modules/clean-stack/package.json +++ b/node_modules/ava/node_modules/clean-stack/package.json @@ -1,6 +1,6 @@ { "name": "clean-stack", - "version": "4.1.0", + "version": "4.2.0", "description": "Clean up error stack traces", "license": "MIT", "repository": "sindresorhus/clean-stack", diff --git a/node_modules/ava/node_modules/globby/gitignore.js b/node_modules/ava/node_modules/globby/gitignore.js deleted file mode 100644 index dc26aa252b..0000000000 --- a/node_modules/ava/node_modules/globby/gitignore.js +++ /dev/null @@ -1,108 +0,0 @@ -import process from 'node:process'; -import fs from 'node:fs'; -import path from 'node:path'; -import fastGlob from 'fast-glob'; -import gitIgnore from 'ignore'; -import slash from 'slash'; -import toPath from './to-path.js'; - -const DEFAULT_IGNORE = [ - '**/node_modules/**', - '**/flow-typed/**', - '**/coverage/**', - '**/.git', -]; - -const mapGitIgnorePatternTo = base => ignore => { - if (ignore.startsWith('!')) { - return '!' + path.posix.join(base, ignore.slice(1)); - } - - return path.posix.join(base, ignore); -}; - -const parseGitIgnore = (content, options) => { - const base = slash(path.relative(options.cwd, path.dirname(options.fileName))); - - return content - .split(/\r?\n/) - .filter(Boolean) - .filter(line => !line.startsWith('#')) - .map(mapGitIgnorePatternTo(base)); -}; - -const reduceIgnore = files => { - const ignores = gitIgnore(); - for (const file of files) { - ignores.add(parseGitIgnore(file.content, { - cwd: file.cwd, - fileName: file.filePath, - })); - } - - return ignores; -}; - -const ensureAbsolutePathForCwd = (cwd, p) => { - cwd = slash(cwd); - if (path.isAbsolute(p)) { - if (slash(p).startsWith(cwd)) { - return p; - } - - throw new Error(`Path ${p} is not in cwd ${cwd}`); - } - - return path.join(cwd, p); -}; - -const getIsIgnoredPredicate = (ignores, cwd) => p => ignores.ignores(slash(path.relative(cwd, ensureAbsolutePathForCwd(cwd, toPath(p.path || p))))); - -const getFile = async (file, cwd) => { - const filePath = path.join(cwd, file); - const content = await fs.promises.readFile(filePath, 'utf8'); - - return { - cwd, - filePath, - content, - }; -}; - -const getFileSync = (file, cwd) => { - const filePath = path.join(cwd, file); - const content = fs.readFileSync(filePath, 'utf8'); - - return { - cwd, - filePath, - content, - }; -}; - -const normalizeOptions = ({ - ignore = [], - cwd = slash(process.cwd()), -} = {}) => ({ignore: [...DEFAULT_IGNORE, ...ignore], cwd: toPath(cwd)}); - -export const isGitIgnored = async options => { - options = normalizeOptions(options); - - const paths = await fastGlob('**/.gitignore', options); - - const files = await Promise.all(paths.map(file => getFile(file, options.cwd))); - const ignores = reduceIgnore(files); - - return getIsIgnoredPredicate(ignores, options.cwd); -}; - -export const isGitIgnoredSync = options => { - options = normalizeOptions(options); - - const paths = fastGlob.sync('**/.gitignore', options); - - const files = paths.map(file => getFileSync(file, options.cwd)); - const ignores = reduceIgnore(files); - - return getIsIgnoredPredicate(ignores, options.cwd); -}; diff --git a/node_modules/ava/node_modules/globby/ignore.js b/node_modules/ava/node_modules/globby/ignore.js new file mode 100644 index 0000000000..c6172f9d37 --- /dev/null +++ b/node_modules/ava/node_modules/globby/ignore.js @@ -0,0 +1,92 @@ +import process from 'node:process'; +import fs from 'node:fs'; +import path from 'node:path'; +import fastGlob from 'fast-glob'; +import gitIgnore from 'ignore'; +import slash from 'slash'; +import {toPath, isNegativePattern} from './utilities.js'; + +const ignoreFilesGlobOptions = { + ignore: [ + '**/node_modules', + '**/flow-typed', + '**/coverage', + '**/.git', + ], + absolute: true, + dot: true, +}; + +export const GITIGNORE_FILES_PATTERN = '**/.gitignore'; + +const applyBaseToPattern = (pattern, base) => isNegativePattern(pattern) + ? '!' + path.posix.join(base, pattern.slice(1)) + : path.posix.join(base, pattern); + +const parseIgnoreFile = (file, cwd) => { + const base = slash(path.relative(cwd, path.dirname(file.filePath))); + + return file.content + .split(/\r?\n/) + .filter(line => line && !line.startsWith('#')) + .map(pattern => applyBaseToPattern(pattern, base)); +}; + +const toRelativePath = (fileOrDirectory, cwd) => { + cwd = slash(cwd); + if (path.isAbsolute(fileOrDirectory)) { + if (slash(fileOrDirectory).startsWith(cwd)) { + return path.relative(cwd, fileOrDirectory); + } + + throw new Error(`Path ${fileOrDirectory} is not in cwd ${cwd}`); + } + + return fileOrDirectory; +}; + +const getIsIgnoredPredicate = (files, cwd) => { + const patterns = files.flatMap(file => parseIgnoreFile(file, cwd)); + const ignores = gitIgnore().add(patterns); + + return fileOrDirectory => { + fileOrDirectory = toPath(fileOrDirectory); + fileOrDirectory = toRelativePath(fileOrDirectory, cwd); + return ignores.ignores(slash(fileOrDirectory)); + }; +}; + +const normalizeOptions = (options = {}) => ({ + cwd: toPath(options.cwd) || process.cwd(), +}); + +export const isIgnoredByIgnoreFiles = async (patterns, options) => { + const {cwd} = normalizeOptions(options); + + const paths = await fastGlob(patterns, {cwd, ...ignoreFilesGlobOptions}); + + const files = await Promise.all( + paths.map(async filePath => ({ + filePath, + content: await fs.promises.readFile(filePath, 'utf8'), + })), + ); + + return getIsIgnoredPredicate(files, cwd); +}; + +export const isIgnoredByIgnoreFilesSync = (patterns, options) => { + const {cwd} = normalizeOptions(options); + + const paths = fastGlob.sync(patterns, {cwd, ...ignoreFilesGlobOptions}); + + const files = paths.map(filePath => ({ + filePath, + content: fs.readFileSync(filePath, 'utf8'), + })); + + return getIsIgnoredPredicate(files, cwd); +}; + +export const isGitIgnored = options => isIgnoredByIgnoreFiles(GITIGNORE_FILES_PATTERN, options); +export const isGitIgnoredSync = options => isIgnoredByIgnoreFilesSync(GITIGNORE_FILES_PATTERN, options); diff --git a/node_modules/ava/node_modules/globby/index.d.ts b/node_modules/ava/node_modules/globby/index.d.ts index b9571a663f..eec9ac406d 100644 --- a/node_modules/ava/node_modules/globby/index.d.ts +++ b/node_modules/ava/node_modules/globby/index.d.ts @@ -4,7 +4,7 @@ import {Options as FastGlobOptions, Entry} from 'fast-glob'; export type GlobEntry = Entry; export interface GlobTask { - readonly pattern: string; + readonly patterns: string[]; readonly options: Options; } @@ -47,6 +47,15 @@ export interface Options extends FastGlobOptionsWithoutCwd { */ readonly gitignore?: boolean; + /** + Glob patterns to look for ignore files, which are then used to ignore globbed files. + + This is a more generic form of the `gitignore` option, allowing you to find ignore files with a [compatible syntax](http://git-scm.com/docs/gitignore). For instance, this works with Babel's `.babelignore`, Prettier's `.prettierignore`, or ESLint's `.eslintignore` files. + + @default undefined + */ + readonly ignoreFiles?: string | readonly string[]; + /** The current working directory in which to search. @@ -57,7 +66,6 @@ export interface Options extends FastGlobOptionsWithoutCwd { export interface GitignoreOptions { readonly cwd?: URL | string; - readonly ignore?: readonly string[]; } export type GlobbyFilterFunction = (path: URL | string) => boolean; @@ -141,6 +149,16 @@ Note that you should avoid running the same tasks multiple times as they contain export function generateGlobTasks( patterns: string | readonly string[], options?: Options +): Promise; + +/** +@see generateGlobTasks + +@returns An object in the format `{pattern: string, options: object}`, which can be passed as arguments to [`fast-glob`](https://github.com/mrmlnc/fast-glob). This is useful for other globbing-related packages. +*/ +export function generateGlobTasksSync( + patterns: string | readonly string[], + options?: Options ): GlobTask[]; /** diff --git a/node_modules/ava/node_modules/globby/index.js b/node_modules/ava/node_modules/globby/index.js index 1ebc17257d..ce5a65639d 100644 --- a/node_modules/ava/node_modules/globby/index.js +++ b/node_modules/ava/node_modules/globby/index.js @@ -1,22 +1,27 @@ import fs from 'node:fs'; -import arrayUnion from 'array-union'; +import nodePath from 'node:path'; import merge2 from 'merge2'; import fastGlob from 'fast-glob'; import dirGlob from 'dir-glob'; -import toPath from './to-path.js'; -import {isGitIgnored, isGitIgnoredSync} from './gitignore.js'; -import {FilterStream, UniqueStream} from './stream-utils.js'; - -const DEFAULT_FILTER = () => false; - -const isNegative = pattern => pattern[0] === '!'; +import { + GITIGNORE_FILES_PATTERN, + isIgnoredByIgnoreFiles, + isIgnoredByIgnoreFilesSync, +} from './ignore.js'; +import {FilterStream, toPath, isNegativePattern} from './utilities.js'; const assertPatternsInput = patterns => { - if (!patterns.every(pattern => typeof pattern === 'string')) { + if (patterns.some(pattern => typeof pattern !== 'string')) { throw new TypeError('Patterns must be a string or an array of strings'); } }; +const toPatternsArray = patterns => { + patterns = [...new Set([patterns].flat())]; + assertPatternsInput(patterns); + return patterns; +}; + const checkCwdOption = options => { if (!options.cwd) { return; @@ -34,164 +39,189 @@ const checkCwdOption = options => { } }; -const getPathString = p => p.stats instanceof fs.Stats ? p.path : p; - -export const generateGlobTasks = (patterns, taskOptions = {}) => { - patterns = arrayUnion([patterns].flat()); - assertPatternsInput(patterns); - - const globTasks = []; - - taskOptions = { +const normalizeOptions = (options = {}) => { + options = { ignore: [], expandDirectories: true, - ...taskOptions, - cwd: toPath(taskOptions.cwd), + ...options, + cwd: toPath(options.cwd), }; - checkCwdOption(taskOptions); + checkCwdOption(options); - for (const [index, pattern] of patterns.entries()) { - if (isNegative(pattern)) { - continue; - } + return options; +}; - const ignore = patterns - .slice(index) - .filter(pattern => isNegative(pattern)) - .map(pattern => pattern.slice(1)); +const normalizeArguments = fn => async (patterns, options) => fn(toPatternsArray(patterns), normalizeOptions(options)); +const normalizeArgumentsSync = fn => (patterns, options) => fn(toPatternsArray(patterns), normalizeOptions(options)); - const options = { - ...taskOptions, - ignore: [...taskOptions.ignore, ...ignore], - }; +const getIgnoreFilesPatterns = options => { + const {ignoreFiles, gitignore} = options; - globTasks.push({pattern, options}); + const patterns = ignoreFiles ? toPatternsArray(ignoreFiles) : []; + if (gitignore) { + patterns.push(GITIGNORE_FILES_PATTERN); } - return globTasks; + return patterns; }; -const globDirectories = (task, fn) => { - let options = {}; - if (task.options.cwd) { - options.cwd = task.options.cwd; - } +const getFilter = async options => { + const ignoreFilesPatterns = getIgnoreFilesPatterns(options); + return createFilterFunction( + ignoreFilesPatterns.length > 0 && await isIgnoredByIgnoreFiles(ignoreFilesPatterns, {cwd: options.cwd}), + ); +}; - if (Array.isArray(task.options.expandDirectories)) { - options = { - ...options, - files: task.options.expandDirectories, - }; - } else if (typeof task.options.expandDirectories === 'object') { - options = { - ...options, - ...task.options.expandDirectories, - }; - } +const getFilterSync = options => { + const ignoreFilesPatterns = getIgnoreFilesPatterns(options); + return createFilterFunction( + ignoreFilesPatterns.length > 0 && isIgnoredByIgnoreFilesSync(ignoreFilesPatterns, {cwd: options.cwd}), + ); +}; + +const createFilterFunction = isIgnored => { + const seen = new Set(); - return fn(task.pattern, options); + return fastGlobResult => { + const path = fastGlobResult.path || fastGlobResult; + const pathKey = nodePath.normalize(path); + const seenOrIgnored = seen.has(pathKey) || (isIgnored && isIgnored(path)); + seen.add(pathKey); + return !seenOrIgnored; + }; }; -const getPattern = (task, fn) => task.options.expandDirectories ? globDirectories(task, fn) : [task.pattern]; +const unionFastGlobResults = (results, filter) => results.flat().filter(fastGlobResult => filter(fastGlobResult)); +const unionFastGlobStreams = (streams, filter) => merge2(streams).pipe(new FilterStream(fastGlobResult => filter(fastGlobResult))); -const getFilterSync = options => options && options.gitignore - ? isGitIgnoredSync({cwd: options.cwd, ignore: options.ignore}) - : DEFAULT_FILTER; +const convertNegativePatterns = (patterns, options) => { + const tasks = []; -const globToTask = task => async glob => { - const {options} = task; - if (options.ignore && Array.isArray(options.ignore) && options.expandDirectories) { - options.ignore = await dirGlob(options.ignore); - } + while (patterns.length > 0) { + const index = patterns.findIndex(pattern => isNegativePattern(pattern)); - return { - pattern: glob, - options, - }; -}; + if (index === -1) { + tasks.push({patterns, options}); + break; + } -const globToTaskSync = task => glob => { - const {options} = task; - if (options.ignore && Array.isArray(options.ignore) && options.expandDirectories) { - options.ignore = dirGlob.sync(options.ignore); + const ignorePattern = patterns[index].slice(1); + + for (const task of tasks) { + task.options.ignore.push(ignorePattern); + } + + if (index !== 0) { + tasks.push({ + patterns: patterns.slice(0, index), + options: { + ...options, + ignore: [ + ...options.ignore, + ignorePattern, + ], + }, + }); + } + + patterns = patterns.slice(index + 1); } - return { - pattern: glob, - options, - }; + return tasks; }; -export const globby = async (patterns, options) => { - const globTasks = generateGlobTasks(patterns, options); +const getDirGlobOptions = (options, cwd) => ({ + ...(cwd ? {cwd} : {}), + ...(Array.isArray(options) ? {files: options} : options), +}); - const getFilter = async () => options && options.gitignore - ? isGitIgnored({cwd: options.cwd, ignore: options.ignore}) - : DEFAULT_FILTER; +const generateTasks = async (patterns, options) => { + const globTasks = convertNegativePatterns(patterns, options); - const getTasks = async () => { - const tasks = await Promise.all(globTasks.map(async task => { - const globs = await getPattern(task, dirGlob); - return Promise.all(globs.map(globToTask(task))); - })); + const {cwd, expandDirectories} = options; - return arrayUnion(...tasks); - }; + if (!expandDirectories) { + return globTasks; + } - const [filter, tasks] = await Promise.all([getFilter(), getTasks()]); - const paths = await Promise.all(tasks.map(task => fastGlob(task.pattern, task.options))); + const patternExpandOptions = getDirGlobOptions(expandDirectories, cwd); + const ignoreExpandOptions = cwd ? {cwd} : undefined; - return arrayUnion(...paths).filter(path_ => !filter(getPathString(path_))); -}; + return Promise.all( + globTasks.map(async task => { + let {patterns, options} = task; -export const globbySync = (patterns, options) => { - const globTasks = generateGlobTasks(patterns, options); + [ + patterns, + options.ignore, + ] = await Promise.all([ + dirGlob(patterns, patternExpandOptions), + dirGlob(options.ignore, ignoreExpandOptions), + ]); - const tasks = []; - for (const task of globTasks) { - const newTask = getPattern(task, dirGlob.sync).map(globToTaskSync(task)); - tasks.push(...newTask); - } + return {patterns, options}; + }), + ); +}; - const filter = getFilterSync(options); +const generateTasksSync = (patterns, options) => { + const globTasks = convertNegativePatterns(patterns, options); + + const {cwd, expandDirectories} = options; - let matches = []; - for (const task of tasks) { - matches = arrayUnion(matches, fastGlob.sync(task.pattern, task.options)); + if (!expandDirectories) { + return globTasks; } - return matches.filter(path_ => !filter(path_)); + const patternExpandOptions = getDirGlobOptions(expandDirectories, cwd); + const ignoreExpandOptions = cwd ? {cwd} : undefined; + + return globTasks.map(task => { + let {patterns, options} = task; + patterns = dirGlob.sync(patterns, patternExpandOptions); + options.ignore = dirGlob.sync(options.ignore, ignoreExpandOptions); + return {patterns, options}; + }); }; -export const globbyStream = (patterns, options) => { - const globTasks = generateGlobTasks(patterns, options); +export const globby = normalizeArguments(async (patterns, options) => { + const [ + tasks, + filter, + ] = await Promise.all([ + generateTasks(patterns, options), + getFilter(options), + ]); + const results = await Promise.all(tasks.map(task => fastGlob(task.patterns, task.options))); + + return unionFastGlobResults(results, filter); +}); + +export const globbySync = normalizeArgumentsSync((patterns, options) => { + const tasks = generateTasksSync(patterns, options); + const filter = getFilterSync(options); + const results = tasks.map(task => fastGlob.sync(task.patterns, task.options)); - const tasks = []; - for (const task of globTasks) { - const newTask = getPattern(task, dirGlob.sync).map(globToTaskSync(task)); - tasks.push(...newTask); - } + return unionFastGlobResults(results, filter); +}); +export const globbyStream = normalizeArgumentsSync((patterns, options) => { + const tasks = generateTasksSync(patterns, options); const filter = getFilterSync(options); - const filterStream = new FilterStream(p => !filter(p)); - const uniqueStream = new UniqueStream(); + const streams = tasks.map(task => fastGlob.stream(task.patterns, task.options)); - return merge2(tasks.map(task => fastGlob.stream(task.pattern, task.options))) - .pipe(filterStream) - .pipe(uniqueStream); -}; + return unionFastGlobStreams(streams, filter); +}); -export const isDynamicPattern = (patterns, options = {}) => { - options = { - ...options, - cwd: toPath(options.cwd), - }; +export const isDynamicPattern = normalizeArgumentsSync( + (patterns, options) => patterns.some(pattern => fastGlob.isDynamicPattern(pattern, options)), +); - return [patterns].flat().some(pattern => fastGlob.isDynamicPattern(pattern, options)); -}; +export const generateGlobTasks = normalizeArguments(generateTasks); +export const generateGlobTasksSync = normalizeArgumentsSync(generateTasksSync); export { isGitIgnored, isGitIgnoredSync, -} from './gitignore.js'; +} from './ignore.js'; diff --git a/node_modules/ava/node_modules/globby/package.json b/node_modules/ava/node_modules/globby/package.json index c9dcc8fdf3..30418b9f78 100644 --- a/node_modules/ava/node_modules/globby/package.json +++ b/node_modules/ava/node_modules/globby/package.json @@ -1,6 +1,6 @@ { "name": "globby", - "version": "12.2.0", + "version": "13.1.2", "description": "User-friendly glob matching", "license": "MIT", "repository": "sindresorhus/globby", @@ -16,15 +16,14 @@ "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { - "bench": "npm update glob-stream fast-glob && matcha bench.js", + "bench": "npm update @globby/main-branch glob-stream fast-glob && node bench.js", "test": "xo && ava && tsd" }, "files": [ "index.js", "index.d.ts", - "gitignore.js", - "stream-utils.js", - "to-path.js" + "ignore.js", + "utilities.js" ], "keywords": [ "all", @@ -60,28 +59,33 @@ "git" ], "dependencies": { - "array-union": "^3.0.1", "dir-glob": "^3.0.1", - "fast-glob": "^3.2.7", - "ignore": "^5.1.9", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", "merge2": "^1.4.1", "slash": "^4.0.0" }, "devDependencies": { - "@types/node": "^16.11.11", - "ava": "^3.15.0", + "@globby/main-branch": "sindresorhus/globby#main", + "@types/node": "^17.0.10", + "ava": "^4.0.1", + "benchmark": "2.1.4", "get-stream": "^6.0.1", "glob-stream": "^7.0.0", - "globby": "sindresorhus/globby#main", - "matcha": "^0.7.0", "rimraf": "^3.0.2", - "tsd": "^0.19.0", - "typescript": "^4.5.2", + "tsd": "^0.19.1", + "typescript": "^4.5.5", "xo": "^0.47.0" }, "xo": { "ignores": [ "fixtures" ] + }, + "ava": { + "files": [ + "!tests/utilities.js" + ], + "workerThreads": false } } diff --git a/node_modules/ava/node_modules/globby/readme.md b/node_modules/ava/node_modules/globby/readme.md index 315a53b650..ff36479b86 100644 --- a/node_modules/ava/node_modules/globby/readme.md +++ b/node_modules/ava/node_modules/globby/readme.md @@ -10,7 +10,7 @@ Based on [`fast-glob`](https://github.com/mrmlnc/fast-glob) but adds a bunch of - Multiple patterns - Negated patterns: `['foo*', '!foobar']` - Expands directories: `foo` → `foo/**/*` -- Supports `.gitignore` +- Supports `.gitignore` and similar ignore config files - Supports `URL` as `cwd` ## Install @@ -88,6 +88,15 @@ Default: `false` Respect ignore patterns in `.gitignore` files that apply to the globbed files. +##### ignoreFiles + +Type: `string | string[]`\ +Default: `undefined` + +Glob patterns to look for ignore files, which are then used to ignore globbed files. + +This is a more generic form of the `gitignore` option, allowing you to find ignore files with a [compatible syntax](http://git-scm.com/docs/gitignore). For instance, this works with Babel's `.babelignore`, Prettier's `.prettierignore`, or ESLint's `.eslintignore` files. + ### globbySync(patterns, options?) Returns `string[]` of matching paths. @@ -110,10 +119,16 @@ import {globbyStream} from 'globby'; ### generateGlobTasks(patterns, options?) -Returns an `object[]` in the format `{pattern: string, options: Object}`, which can be passed as arguments to [`fast-glob`](https://github.com/mrmlnc/fast-glob). This is useful for other globbing-related packages. +Returns an `Promise` in the format `{patterns: string[], options: Object}`, which can be passed as arguments to [`fast-glob`](https://github.com/mrmlnc/fast-glob). This is useful for other globbing-related packages. Note that you should avoid running the same tasks multiple times as they contain a file system cache. Instead, run this method each time to ensure file system changes are taken into consideration. +### generateGlobTasksSync(patterns, options?) + +Returns an `object[]` in the format `{patterns: string[], options: Object}`, which can be passed as arguments to [`fast-glob`](https://github.com/mrmlnc/fast-glob). This is useful for other globbing-related packages. + +Takes the same arguments as `generateGlobTasks`. + ### isDynamicPattern(patterns, options?) Returns a `boolean` of whether there are any special glob characters in the `patterns`. @@ -126,7 +141,7 @@ This function is backed by [`fast-glob`](https://github.com/mrmlnc/fast-glob#isd Returns a `Promise<(path: URL | string) => boolean>` indicating whether a given path is ignored via a `.gitignore` file. -Takes `cwd?: URL | string` and `ignore?: string[]` as options. `.gitignore` files matched by the ignore config are not used for the resulting filter function. +Takes `cwd?: URL | string` as options. ```js import {isGitIgnored} from 'globby'; @@ -140,7 +155,7 @@ console.log(isIgnored('some/file')); Returns a `(path: URL | string) => boolean` indicating whether a given path is ignored via a `.gitignore` file. -Takes the same options as `isGitIgnored`. +Takes `cwd?: URL | string` as options. ## Globbing patterns diff --git a/node_modules/ava/node_modules/globby/stream-utils.js b/node_modules/ava/node_modules/globby/stream-utils.js deleted file mode 100644 index 91a99bb961..0000000000 --- a/node_modules/ava/node_modules/globby/stream-utils.js +++ /dev/null @@ -1,40 +0,0 @@ -import {Transform} from 'node:stream'; - -class ObjectTransform extends Transform { - constructor() { - super({ - objectMode: true, - }); - } -} - -export class FilterStream extends ObjectTransform { - constructor(filter) { - super(); - this._filter = filter; - } - - _transform(data, encoding, callback) { - if (this._filter(data)) { - this.push(data); - } - - callback(); - } -} - -export class UniqueStream extends ObjectTransform { - constructor() { - super(); - this._pushed = new Set(); - } - - _transform(data, encoding, callback) { - if (!this._pushed.has(data)) { - this.push(data); - this._pushed.add(data); - } - - callback(); - } -} diff --git a/node_modules/ava/node_modules/globby/to-path.js b/node_modules/ava/node_modules/globby/to-path.js deleted file mode 100644 index 3914433659..0000000000 --- a/node_modules/ava/node_modules/globby/to-path.js +++ /dev/null @@ -1,15 +0,0 @@ -import {fileURLToPath} from 'node:url'; - -const toPath = urlOrPath => { - if (!urlOrPath) { - return urlOrPath; - } - - if (urlOrPath instanceof URL) { - urlOrPath = urlOrPath.href; - } - - return urlOrPath.startsWith('file://') ? fileURLToPath(urlOrPath) : urlOrPath; -}; - -export default toPath; diff --git a/node_modules/ava/node_modules/globby/utilities.js b/node_modules/ava/node_modules/globby/utilities.js new file mode 100644 index 0000000000..c09c4dc8af --- /dev/null +++ b/node_modules/ava/node_modules/globby/utilities.js @@ -0,0 +1,17 @@ +import {fileURLToPath} from 'node:url'; +import {Transform} from 'node:stream'; + +export const toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath; + +export class FilterStream extends Transform { + constructor(filter) { + super({ + objectMode: true, + transform(data, encoding, callback) { + callback(undefined, filter(data) ? data : undefined); + }, + }); + } +} + +export const isNegativePattern = pattern => pattern[0] === '!'; diff --git a/node_modules/ava/node_modules/p-map/index.d.ts b/node_modules/ava/node_modules/p-map/index.d.ts index 8083ba38e4..ba87496313 100644 --- a/node_modules/ava/node_modules/p-map/index.d.ts +++ b/node_modules/ava/node_modules/p-map/index.d.ts @@ -18,8 +18,34 @@ export interface Options { @default true */ readonly stopOnError?: boolean; + + /** + You can abort the promises using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController). + + **Requires Node.js 16 or later.* + + @example + ``` + import pMap from 'p-map'; + import delay from 'delay'; + + const abortController = new AbortController(); + + setTimeout(() => { + abortController.abort(); + }, 500); + + const mapper = async value => value; + + await pMap([delay(1000), delay(1000)], mapper, {signal: abortController.signal}); + // Throws AbortError (DOMException) after 500 ms. + ``` + */ + readonly signal?: AbortSignal; } +type MaybePromise = T | Promise; + /** Function which is called for every item in `input`. Expected to return a `Promise` or value. @@ -29,7 +55,7 @@ Function which is called for every item in `input`. Expected to return a `Promis export type Mapper = ( element: Element, index: number -) => NewElement | Promise; +) => MaybePromise; /** @param input - Synchronous or asynchronous iterable that is iterated over concurrently, calling the `mapper` function for each element. Each iterated item is `await`'d before the `mapper` is invoked so the iterable may return a `Promise` that resolves to an item. Asynchronous iterables (different from synchronous iterables that return `Promise` that resolves to an item) can be used when the next item may not be ready without waiting for an asynchronous process to complete and/or the end of the iterable may be reached after the asynchronous process completes. For example, reading from a remote queue when the queue has reached empty, or reading lines from a stream. diff --git a/node_modules/ava/node_modules/p-map/index.js b/node_modules/ava/node_modules/p-map/index.js index 11cf5f534f..38814c6614 100644 --- a/node_modules/ava/node_modules/p-map/index.js +++ b/node_modules/ava/node_modules/p-map/index.js @@ -1,14 +1,45 @@ import AggregateError from 'aggregate-error'; +/** +An error to be thrown when the request is aborted by AbortController. +DOMException is thrown instead of this Error when DOMException is available. +*/ +export class AbortError extends Error { + constructor(message) { + super(); + this.name = 'AbortError'; + this.message = message; + } +} + +/** +TODO: Remove AbortError and just throw DOMException when targeting Node 18. +*/ +const getDOMException = errorMessage => globalThis.DOMException === undefined + ? new AbortError(errorMessage) + : new DOMException(errorMessage); + +/** +TODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18. +*/ +const getAbortedReason = signal => { + const reason = signal.reason === undefined + ? getDOMException('This operation was aborted.') + : signal.reason; + + return reason instanceof Error ? reason : getDOMException(reason); +}; + export default async function pMap( iterable, mapper, { concurrency = Number.POSITIVE_INFINITY, - stopOnError = true - } = {} + stopOnError = true, + signal, + } = {}, ) { - return new Promise((resolve, reject_) => { // eslint-disable-line promise/param-names + return new Promise((resolve, reject_) => { if (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) { throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof iterable})`); } @@ -37,6 +68,16 @@ export default async function pMap( reject_(reason); }; + if (signal) { + if (signal.aborted) { + reject(getAbortedReason(signal)); + } + + signal.addEventListener('abort', () => { + reject(getAbortedReason(signal)); + }); + } + const next = async () => { if (isResolved) { return; @@ -64,7 +105,7 @@ export default async function pMap( isResolved = true; - if (!skippedIndexesMap.size) { + if (skippedIndexesMap.size === 0) { resolve(result); return; } diff --git a/node_modules/ava/node_modules/p-map/package.json b/node_modules/ava/node_modules/p-map/package.json index 485bd87348..419d5a7830 100644 --- a/node_modules/ava/node_modules/p-map/package.json +++ b/node_modules/ava/node_modules/p-map/package.json @@ -1,6 +1,6 @@ { "name": "p-map", - "version": "5.3.0", + "version": "5.5.0", "description": "Map over promises concurrently", "license": "MIT", "repository": "sindresorhus/p-map", @@ -44,12 +44,12 @@ "aggregate-error": "^4.0.0" }, "devDependencies": { - "ava": "^3.15.0", + "ava": "^4.1.0", "delay": "^5.0.0", "in-range": "^3.0.0", "random-int": "^3.0.0", "time-span": "^5.0.0", - "tsd": "^0.14.0", - "xo": "^0.38.2" + "tsd": "^0.19.1", + "xo": "^0.48.0" } } diff --git a/node_modules/ava/node_modules/p-map/readme.md b/node_modules/ava/node_modules/p-map/readme.md index a59bfa02d0..44e2b2a163 100644 --- a/node_modules/ava/node_modules/p-map/readme.md +++ b/node_modules/ava/node_modules/p-map/readme.md @@ -78,6 +78,30 @@ When `false`, instead of stopping when a promise rejects, it will wait for all t Caveat: When `true`, any already-started async mappers will continue to run until they resolve or reject. In the case of infinite concurrency with sync iterables, *all* mappers are invoked on startup and will continue after the first rejection. [Issue #51](https://github.com/sindresorhus/p-map/issues/51) can be implemented for abort control. +##### signal + +Type: [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) + +You can abort the promises using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController). + +*Requires Node.js 16 or later.* + +```js +import pMap from 'p-map'; +import delay from 'delay'; + +const abortController = new AbortController(); + +setTimeout(() => { + abortController.abort(); +}, 500); + +const mapper = async value => value; + +await pMap([delay(1000), delay(1000)], mapper, {signal: abortController.signal}); +// Throws AbortError (DOMException) after 500 ms. +``` + ### pMapSkip Return this value from a `mapper` function to skip including the value in the returned array. diff --git a/node_modules/ava/package.json b/node_modules/ava/package.json index 4a3fb6d382..7c2c6d1686 100644 --- a/node_modules/ava/package.json +++ b/node_modules/ava/package.json @@ -1,6 +1,6 @@ { "name": "ava", - "version": "4.0.1", + "version": "4.3.3", "description": "Node.js test runner that lets you develop with confidence.", "license": "MIT", "repository": "avajs/ava", @@ -10,18 +10,30 @@ }, "exports": { ".": { - "import": "./entrypoints/main.mjs", - "require": "./entrypoints/main.cjs" + "import": { + "types": "./index.d.ts", + "default": "./entrypoints/main.mjs" + }, + "require": { + "types": "./entrypoints/index.d.cts", + "default": "./entrypoints/main.cjs" + } }, "./eslint-plugin-helper": "./entrypoints/eslint-plugin-helper.cjs", "./plugin": { - "import": "./entrypoints/plugin.mjs", - "require": "./entrypoints/plugin.cjs" + "import": { + "types": "./plugin.d.ts", + "default": "./entrypoints/plugin.mjs" + }, + "require": { + "types": "./entrypoints/plugin.d.cts", + "default": "./entrypoints/plugin.cjs" + } } }, "type": "module", "engines": { - "node": ">=12.22 <13 || >=14.17 <15 || >=16.4 <17 || >=17" + "node": ">=12.22 <13 || >=14.17 <15 || >=16.4 <17 || >=18" }, "scripts": { "cover": "c8 --report=none test-ava && c8 --report=none --no-clean tap && c8 report", @@ -70,40 +82,40 @@ "typescript" ], "dependencies": { - "acorn": "^8.7.0", + "acorn": "^8.7.1", "acorn-walk": "^8.2.0", "ansi-styles": "^6.1.0", "arrgv": "^1.0.2", "arrify": "^3.0.0", "callsites": "^4.0.0", "cbor": "^8.1.0", - "chalk": "^5.0.0", - "chokidar": "^3.5.2", + "chalk": "^5.0.1", + "chokidar": "^3.5.3", "chunkd": "^2.0.1", - "ci-info": "^3.3.0", + "ci-info": "^3.3.1", "ci-parallel-vars": "^1.0.1", "clean-yaml-object": "^0.1.0", "cli-truncate": "^3.1.0", - "code-excerpt": "^3.0.0", + "code-excerpt": "^4.0.0", "common-path-prefix": "^3.0.0", "concordance": "^5.0.4", "currently-unhandled": "^0.4.1", - "debug": "^4.3.3", - "del": "^6.0.0", - "emittery": "^0.10.0", - "figures": "^4.0.0", - "globby": "^12.0.2", - "ignore-by-default": "^2.0.0", + "debug": "^4.3.4", + "del": "^6.1.1", + "emittery": "^0.11.0", + "figures": "^4.0.1", + "globby": "^13.1.1", + "ignore-by-default": "^2.1.0", "indent-string": "^5.0.0", "is-error": "^2.2.2", "is-plain-object": "^5.0.0", "is-promise": "^4.0.0", "matcher": "^5.0.0", - "mem": "^9.0.1", + "mem": "^9.0.2", "ms": "^2.1.3", "p-event": "^5.0.1", - "p-map": "^5.3.0", - "picomatch": "^2.3.0", + "p-map": "^5.4.0", + "picomatch": "^2.3.1", "pkg-conf": "^4.0.0", "plur": "^5.1.0", "pretty-ms": "^7.0.1", @@ -111,30 +123,30 @@ "slash": "^3.0.0", "stack-utils": "^2.0.5", "strip-ansi": "^7.0.1", - "supertap": "^2.0.0", + "supertap": "^3.0.1", "temp-dir": "^2.0.0", - "write-file-atomic": "^3.0.3", - "yargs": "^17.3.1" + "write-file-atomic": "^4.0.1", + "yargs": "^17.5.1" }, "devDependencies": { "@ava/test": "github:avajs/test", "@ava/typescript": "^3.0.1", - "@sinonjs/fake-timers": "^8.1.0", + "@sinonjs/fake-timers": "^9.1.2", "ansi-escapes": "^5.0.0", - "c8": "^7.11.0", + "c8": "^7.11.3", "delay": "^5.0.0", - "execa": "^6.0.0", - "fs-extra": "^10.0.0", + "execa": "^6.1.0", + "fs-extra": "^10.1.0", "get-stream": "^6.0.1", "replace-string": "^4.0.0", - "sinon": "^12.0.1", - "tap": "^15.1.5", + "sinon": "^13.0.2", + "tap": "^16.2.0", "temp-write": "^5.0.0", "tempy": "^2.0.0", "touch": "^3.1.0", - "tsd": "^0.19.1", - "typescript": "^4.4.4", - "xo": "^0.47.0", + "tsd": "^0.20.0", + "typescript": "^4.7.2", + "xo": "^0.49.0", "zen-observable": "^0.8.15" }, "peerDependencies": { @@ -144,5 +156,9 @@ "@ava/typescript": { "optional": true } + }, + "volta": { + "node": "18.3.0", + "npm": "8.12.0" } } diff --git a/node_modules/ava/plugin.d.ts b/node_modules/ava/plugin.d.ts index 11b2274aac..a2f68e1797 100644 --- a/node_modules/ava/plugin.d.ts +++ b/node_modules/ava/plugin.d.ts @@ -41,7 +41,7 @@ export namespace SharedWorker { readonly file: string; publish: (data: Data) => PublishedMessage; subscribe: () => AsyncIterableIterator>; - teardown: void> (fn: TeardownFn) => TeardownFn; + teardown: (fn: (() => Promise) | (() => void)) => () => Promise; }; export namespace Plugin { diff --git a/node_modules/ava/readme.md b/node_modules/ava/readme.md index 682315ce04..a16e308bec 100644 --- a/node_modules/ava/readme.md +++ b/node_modules/ava/readme.md @@ -1,3 +1,5 @@ +[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/) + # AVA logo AVA is a test runner for Node.js with a concise API, detailed error output, embrace of new language features and process isolation that lets you develop with confidence 🚀 @@ -9,7 +11,7 @@ Read our [contributing guide](.github/CONTRIBUTING.md) if you're looking to cont ![](media/verbose-reporter.png) -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/readme.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/readme.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/readme.md), [日本語](https://github.com/avajs/ava-docs/blob/master/ja_JP/readme.md), [한국어](https://github.com/avajs/ava-docs/blob/master/ko_KR/readme.md), [Português](https://github.com/avajs/ava-docs/blob/master/pt_BR/readme.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/readme.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/readme.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/readme.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/readme.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/readme.md), [日本語](https://github.com/avajs/ava-docs/blob/main/ja_JP/readme.md), [한국어](https://github.com/avajs/ava-docs/blob/main/ko_KR/readme.md), [Português](https://github.com/avajs/ava-docs/blob/main/pt_BR/readme.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/readme.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/readme.md) ## Why AVA? @@ -64,6 +66,8 @@ Alternatively you can install `ava` manually: npm install --save-dev ava ``` +*Make sure to install AVA locally. As of AVA 4 it can no longer be run globally.* + Don't forget to configure the `test` script in your `package.json` as per above. ### Create your test file @@ -71,7 +75,7 @@ Don't forget to configure the `test` script in your `package.json` as per above. Create a file named `test.js` in the project root directory: ```js -const test = require('ava'); +import test from 'ava'; test('foo', t => { t.pass(); @@ -139,15 +143,16 @@ We have a growing list of [common pitfalls](docs/08-common-pitfalls.md) you may ### Recipes -- [Shared workers](docs/recipes/shared-workers.md) - [Test setup](docs/recipes/test-setup.md) -- [Code coverage](docs/recipes/code-coverage.md) +- [TypeScript](docs/recipes/typescript.md) +- [Shared workers](docs/recipes/shared-workers.md) - [Watch mode](docs/recipes/watch-mode.md) -- [Endpoint testing](docs/recipes/endpoint-testing.md) - [When to use `t.plan()`](docs/recipes/when-to-use-plan.md) -- [Browser testing](docs/recipes/browser-testing.md) -- [TypeScript](docs/recipes/typescript.md) - [Passing arguments to your test files](docs/recipes/passing-arguments-to-your-test-files.md) +- [Splitting tests in CI](docs/recipes/splitting-tests-ci.md) +- [Code coverage](docs/recipes/code-coverage.md) +- [Endpoint testing](docs/recipes/endpoint-testing.md) +- [Browser testing](docs/recipes/browser-testing.md) - [Testing Vue.js components](docs/recipes/vue.md) - [Debugging tests with Chrome DevTools](docs/recipes/debugging-with-chrome-devtools.md) - [Debugging tests with VSCode](docs/recipes/debugging-with-vscode.md) diff --git a/node_modules/ava/types/assertions.d.ts b/node_modules/ava/types/assertions.d.ts index 657ed3d486..68fd8d85b2 100644 --- a/node_modules/ava/types/assertions.d.ts +++ b/node_modules/ava/types/assertions.d.ts @@ -12,7 +12,7 @@ export type ThrowsExpectation = { is?: Error; /** The thrown error must have a message that equals the given string, or matches the regular expression. */ - message?: string | RegExp; + message?: string | RegExp | ((message: string) => boolean); /** The thrown error must have a name that equals the given string. */ name?: string; @@ -138,6 +138,18 @@ export interface DeepEqualAssertion { */ (actual: Actual, expected: Expected, message?: string): actual is Expected; + /** + * Assert that `actual` is [deeply equal](https://github.com/concordancejs/concordance#comparison-details) to + * `expected`, returning a boolean indicating whether the assertion passed. + */ + (actual: Actual, expected: Expected, message?: string): expected is Actual; + + /** + * Assert that `actual` is [deeply equal](https://github.com/concordancejs/concordance#comparison-details) to + * `expected`, returning a boolean indicating whether the assertion passed. + */ + (actual: Actual, expected: Expected, message?: string): boolean; + /** Skip this assertion. */ skip(actual: any, expected: any, message?: string): void; } @@ -240,7 +252,7 @@ export interface NotThrowsAsyncAssertion { (fn: () => PromiseLike, message?: string): Promise; /** Assert that the promise does not reject. You must await the result. */ - (promise: PromiseLike, message?: string): Promise; // eslint-disable-line @typescript-eslint/unified-signatures + (promise: PromiseLike, message?: string): Promise; /** Skip this assertion. */ skip(nonThrower: any, message?: string): void; @@ -299,7 +311,7 @@ export interface ThrowsAsyncAssertion { * rejection reason. Returns undefined when the assertion fails. You must await the result. The error must satisfy all * expectations. */ - (promise: PromiseLike, expectations?: ThrowsExpectation, message?: string): Promise; // eslint-disable-line @typescript-eslint/unified-signatures + (promise: PromiseLike, expectations?: ThrowsExpectation, message?: string): Promise; /** Skip this assertion. */ skip(thrower: any, expectations?: any, message?: string): void; diff --git a/node_modules/ava/types/subscribable.ts b/node_modules/ava/types/subscribable.d.ts similarity index 100% rename from node_modules/ava/types/subscribable.ts rename to node_modules/ava/types/subscribable.d.ts diff --git a/node_modules/ava/types/test-fn.d.ts b/node_modules/ava/types/test-fn.d.ts index bcb9778ab9..730651ddb7 100644 --- a/node_modules/ava/types/test-fn.d.ts +++ b/node_modules/ava/types/test-fn.d.ts @@ -1,6 +1,6 @@ -import type {Assertions} from './assertions'; -import type {Subscribable} from './subscribable'; -import type {TryFn} from './try-fn'; +import type {Assertions} from './assertions.js'; +import type {Subscribable} from './subscribable.js'; +import type {TryFn} from './try-fn.js'; /** The `t` value passed to test & hook implementations. */ export interface ExecutionContext extends Assertions { @@ -46,7 +46,7 @@ export interface PlanFn { export type TimeoutFn = (ms: number, message?: string) => void; /** Declare a function to be run after the test has ended. */ -export type TeardownFn = (fn: () => void) => void; +export type TeardownFn = (fn: (() => Promise) | (() => void)) => void; export type ImplementationFn = ((t: ExecutionContext, ...args: Args) => PromiseLike) | @@ -219,7 +219,7 @@ export type MacroDeclarationOptions = export interface MacroFn { /** Declare a reusable test implementation. */ (/** The function that is executed when the macro is used. */ exec: ImplementationFn): Macro; - (declaration: MacroDeclarationOptions): Macro; // eslint-disable-line @typescript-eslint/unified-signatures + (declaration: MacroDeclarationOptions): Macro; } export interface Meta { diff --git a/node_modules/ava/types/try-fn.d.ts b/node_modules/ava/types/try-fn.d.ts index 41a1664d51..8009df0c96 100644 --- a/node_modules/ava/types/try-fn.d.ts +++ b/node_modules/ava/types/try-fn.d.ts @@ -1,4 +1,4 @@ -import type {Implementation} from './test-fn'; +import type {Implementation} from './test-fn.js'; export type CommitDiscardOptions = { /** diff --git a/node_modules/chokidar/README.md b/node_modules/chokidar/README.md index 8ec3deb5c1..d6a57fd9c5 100644 --- a/node_modules/chokidar/README.md +++ b/node_modules/chokidar/README.md @@ -265,7 +265,7 @@ values are arrays of the names of the items contained in each directory. ## CLI If you need a CLI interface for your file watching, check out -[chokidar-cli](https://github.com/kimmobrunfeldt/chokidar-cli), allowing you to +[chokidar-cli](https://github.com/open-cli-tools/chokidar-cli), allowing you to execute a command on each change, or get a stdio stream of change events. ## Install Troubleshooting diff --git a/node_modules/chokidar/lib/nodefs-handler.js b/node_modules/chokidar/lib/nodefs-handler.js index 3a396430b7..199cfe9f9f 100644 --- a/node_modules/chokidar/lib/nodefs-handler.js +++ b/node_modules/chokidar/lib/nodefs-handler.js @@ -421,7 +421,15 @@ async _handleSymlink(entry, directory, path, item) { if (!this.fsw.options.followSymlinks) { // watch symlink directly (don't follow) and detect changes this.fsw._incrReadyCount(); - const linkPath = await fsrealpath(path); + + let linkPath; + try { + linkPath = await fsrealpath(path); + } catch (e) { + this.fsw._emitReady(); + return true; + } + if (this.fsw.closed) return; if (dir.has(item)) { if (this.fsw._symlinkPaths.get(full) !== linkPath) { diff --git a/node_modules/chokidar/package.json b/node_modules/chokidar/package.json index a1f3434f72..6c3cd27c7b 100644 --- a/node_modules/chokidar/package.json +++ b/node_modules/chokidar/package.json @@ -1,7 +1,7 @@ { "name": "chokidar", "description": "Minimal and efficient cross-platform file watching library", - "version": "3.5.2", + "version": "3.5.3", "homepage": "https://github.com/paulmillr/chokidar", "author": "Paul Miller (https://paulmillr.com)", "contributors": [ @@ -34,6 +34,7 @@ "rimraf": "^3.0.0", "sinon": "^9.0.1", "sinon-chai": "^3.3.0", + "typescript": "~4.4.3", "upath": "^1.2.0" }, "files": [ @@ -74,5 +75,11 @@ "html", "text" ] - } + }, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] } diff --git a/node_modules/chokidar/types/index.d.ts b/node_modules/chokidar/types/index.d.ts index af0b5585e3..aab8e337ac 100644 --- a/node_modules/chokidar/types/index.d.ts +++ b/node_modules/chokidar/types/index.d.ts @@ -4,6 +4,7 @@ import * as fs from "fs"; import { EventEmitter } from "events"; +import { Matcher } from 'anymatch'; export class FSWatcher extends EventEmitter implements fs.FSWatcher { options: WatchOptions; @@ -17,13 +18,13 @@ export class FSWatcher extends EventEmitter implements fs.FSWatcher { * Add files, directories, or glob patterns for tracking. Takes an array of strings or just one * string. */ - add(paths: string | ReadonlyArray): void; + add(paths: string | ReadonlyArray): this; /** * Stop watching files, directories, or glob patterns. Takes an array of strings or just one * string. */ - unwatch(paths: string | ReadonlyArray): void; + unwatch(paths: string | ReadonlyArray): this; /** * Returns an object representing all the paths on the file system being watched by this @@ -79,7 +80,7 @@ export interface WatchOptions { * (the path), second time with two arguments (the path and the * [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats) object of that path). */ - ignored?: any; + ignored?: Matcher; /** * If set to `false` then `add`/`addDir` events are also emitted for matching paths while diff --git a/node_modules/ci-info/CHANGELOG.md b/node_modules/ci-info/CHANGELOG.md index fc293eb973..a05c1c17dd 100644 --- a/node_modules/ci-info/CHANGELOG.md +++ b/node_modules/ci-info/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## v3.3.2 + + - fix: export correct typings for `EAS` + +## v3.3.1 + +- fix: export `EAS_BUILD` constant in typings +- Add support for nodejs v18 + ## v3.3.0 - support Expo Application Services ([#70](https://github.com/watson/ci-info/pull/70)) @@ -9,7 +18,7 @@ - support LayerCI ([#68](https://github.com/watson/ci-info/pull/68)) - support Appcircle ([#69](https://github.com/watson/ci-info/pull/69)) - support Codefresh CI ([#65](https://github.com/watson/ci-info/pull/65)) -- Add support for nodejs v16 +- add support for nodejs v16 ## v3.1.1 diff --git a/node_modules/ci-info/index.d.ts b/node_modules/ci-info/index.d.ts index 04f79c6d08..3e7dc2c46f 100644 --- a/node_modules/ci-info/index.d.ts +++ b/node_modules/ci-info/index.d.ts @@ -39,6 +39,7 @@ export const CODEFRESH: boolean; export const CODESHIP: boolean; export const DRONE: boolean; export const DSARI: boolean; +export const EAS: boolean; export const GITHUB_ACTIONS: boolean; export const GITLAB: boolean; export const GOCD: boolean; diff --git a/node_modules/ci-info/index.js b/node_modules/ci-info/index.js index b747a891a3..302e5f2fe0 100644 --- a/node_modules/ci-info/index.js +++ b/node_modules/ci-info/index.js @@ -6,7 +6,9 @@ const env = process.env // Used for testing only Object.defineProperty(exports, '_vendors', { - value: vendors.map(function (v) { return v.constant }) + value: vendors.map(function (v) { + return v.constant + }) }) exports.name = null diff --git a/node_modules/ci-info/package.json b/node_modules/ci-info/package.json index 136015c8d3..86af7495f1 100644 --- a/node_modules/ci-info/package.json +++ b/node_modules/ci-info/package.json @@ -1,18 +1,13 @@ { "name": "ci-info", - "version": "3.3.0", + "version": "3.3.2", "description": "Get details about the current Continuous Integration environment", "main": "index.js", "typings": "index.d.ts", "author": "Thomas Watson Steen (https://twitter.com/wa7son)", "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/watson/ci-info.git" - }, - "bugs": { - "url": "https://github.com/watson/ci-info/issues" - }, + "repository": "https://github.com/watson/ci-info.git", + "bugs": "https://github.com/watson/ci-info/issues", "homepage": "https://github.com/watson/ci-info", "keywords": [ "ci", @@ -21,16 +16,18 @@ "test", "detect" ], - "coordinates": [ - 55.778231, - 12.593179 + "files": [ + "vendors.json", + "index.js", + "index.d.ts", + "CHANGELOG.md" ], "scripts": { "test": "standard && node test.js" }, "devDependencies": { "clear-module": "^4.1.2", - "standard": "^16.0.4", - "tape": "^5.3.2" + "standard": "^17.0.0", + "tape": "^5.5.3" } } diff --git a/node_modules/code-excerpt/dist/index.d.ts b/node_modules/code-excerpt/dist/index.d.ts new file mode 100644 index 0000000000..3c6103c31c --- /dev/null +++ b/node_modules/code-excerpt/dist/index.d.ts @@ -0,0 +1,9 @@ +interface Options { + around?: number; +} +export interface CodeExcerpt { + line: number; + value: string; +} +declare const codeExcerpt: (source: string, line: number, options?: Options) => CodeExcerpt[] | undefined; +export default codeExcerpt; diff --git a/node_modules/code-excerpt/dist/index.js b/node_modules/code-excerpt/dist/index.js new file mode 100644 index 0000000000..774dc949e1 --- /dev/null +++ b/node_modules/code-excerpt/dist/index.js @@ -0,0 +1,27 @@ +import tabsToSpaces from 'convert-to-spaces'; +const generateLineNumbers = (line, around) => { + const lineNumbers = []; + const min = line - around; + const max = line + around; + for (let lineNumber = min; lineNumber <= max; lineNumber++) { + lineNumbers.push(lineNumber); + } + return lineNumbers; +}; +const codeExcerpt = (source, line, options = {}) => { + var _a; + if (typeof source !== 'string') { + throw new TypeError('Source code is missing.'); + } + if (!line || line < 1) { + throw new TypeError('Line number must start from `1`.'); + } + const lines = tabsToSpaces(source).split(/\r?\n/); + if (line > lines.length) { + return; + } + return generateLineNumbers(line, (_a = options.around) !== null && _a !== void 0 ? _a : 3) + .filter(line => lines[line - 1] !== undefined) + .map(line => ({ line, value: lines[line - 1] })); +}; +export default codeExcerpt; diff --git a/node_modules/code-excerpt/index.d.ts b/node_modules/code-excerpt/index.d.ts deleted file mode 100644 index f7b457a96d..0000000000 --- a/node_modules/code-excerpt/index.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace codeExcerpt { - interface Options { - /** - * Number of surrounding lines to extract. - * - * @default 3 - */ - readonly around?: number; - } - - interface ExcerptLine { - /** - * Line number - */ - readonly line: number; - - /** - * Line itself - */ - readonly value: string; - } -} - -/** - * Extract code excerpts - */ -declare function codeExcerpt( - /** - * Source code - */ - source: string, - - /** - * Line number to extract excerpt for. - */ - line: number, - - /** - * Options - */ - options?: codeExcerpt.Options -): codeExcerpt.ExcerptLine[] | undefined; - -export = codeExcerpt; diff --git a/node_modules/code-excerpt/index.js b/node_modules/code-excerpt/index.js deleted file mode 100644 index 5959886eca..0000000000 --- a/node_modules/code-excerpt/index.js +++ /dev/null @@ -1,40 +0,0 @@ -'use strict'; -const tabsToSpaces = require('convert-to-spaces'); - -const generateLineNumbers = (line, around) => { - const lineNumbers = []; - - const min = line - around; - const max = line + around; - - for (let lineNumber = min; lineNumber <= max; lineNumber++) { - lineNumbers.push(lineNumber); - } - - return lineNumbers; -}; - -module.exports = (source, line, options) => { - if (typeof source !== 'string') { - throw new TypeError('Source code is missing.'); - } - - if (!line || line < 1) { - throw new TypeError('Line number must start from `1`.'); - } - - source = tabsToSpaces(source).split(/\r?\n/); - - if (line > source.length) { - return; - } - - options = { - around: 3, - ...options - }; - - return generateLineNumbers(line, options.around) - .filter(line => source[line - 1] !== undefined) - .map(line => ({line, value: source[line - 1]})); -}; diff --git a/node_modules/code-excerpt/package.json b/node_modules/code-excerpt/package.json index 77b0e534e3..2da01d018e 100644 --- a/node_modules/code-excerpt/package.json +++ b/node_modules/code-excerpt/package.json @@ -1,6 +1,6 @@ { "name": "code-excerpt", - "version": "3.0.0", + "version": "4.0.0", "description": "Extract code excerpts", "license": "MIT", "repository": "vadimdemedes/code-excerpt", @@ -9,22 +9,35 @@ "email": "vdemedes@gmail.com", "url": "github.com/vadimdemedes" }, + "type": "module", + "exports": "./dist/index.js", + "types": "./dist/index.d.ts", "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { - "test": "tsd && xo && ava" + "build": "tsc", + "dev": "tsc --watch", + "prepare": "npm run build", + "pretest": "npm run build", + "test": "xo && ava" }, "files": [ - "index.js", - "index.d.ts" + "dist" ], "dependencies": { - "convert-to-spaces": "^1.0.1" + "convert-to-spaces": "^2.0.1" }, "devDependencies": { - "ava": "^3.9.0", - "tsd": "^0.11.0", - "xo": "^0.32.0" - } + "@sindresorhus/tsconfig": "^2.0.0", + "@vdemedes/prettier-config": "^2.0.1", + "ava": "^4.0.1", + "prettier": "^2.5.1", + "typescript": "^4.5.5", + "xo": "^0.47.0" + }, + "xo": { + "prettier": true + }, + "prettier": "@vdemedes/prettier-config" } diff --git a/node_modules/code-excerpt/readme.md b/node_modules/code-excerpt/readme.md index d22c5f12c9..4a4a7f6b2b 100644 --- a/node_modules/code-excerpt/readme.md +++ b/node_modules/code-excerpt/readme.md @@ -11,7 +11,7 @@ $ npm install --save code-excerpt ## Usage ```js -const codeExcerpt = require('code-excerpt'); +import codeExcerpt from 'code-excerpt'; const source = ` 'use strict'; diff --git a/node_modules/convert-to-spaces/dist/index.d.ts b/node_modules/convert-to-spaces/dist/index.d.ts new file mode 100644 index 0000000000..7a62c76ef5 --- /dev/null +++ b/node_modules/convert-to-spaces/dist/index.d.ts @@ -0,0 +1,2 @@ +declare const convertToSpaces: (input: string, spaces?: number) => string; +export default convertToSpaces; diff --git a/node_modules/convert-to-spaces/dist/index.js b/node_modules/convert-to-spaces/dist/index.js new file mode 100644 index 0000000000..c674aa801c --- /dev/null +++ b/node_modules/convert-to-spaces/dist/index.js @@ -0,0 +1,4 @@ +const convertToSpaces = (input, spaces = 2) => { + return input.replace(/^\t+/gm, $1 => ' '.repeat($1.length * spaces)); +}; +export default convertToSpaces; diff --git a/node_modules/convert-to-spaces/index.js b/node_modules/convert-to-spaces/index.js deleted file mode 100644 index b61b17f0d3..0000000000 --- a/node_modules/convert-to-spaces/index.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = (str, spaces) => { - return str.replace(/^\t+/gm, $1 => ' '.repeat($1.length * (spaces || 2))); -}; diff --git a/node_modules/convert-to-spaces/package.json b/node_modules/convert-to-spaces/package.json index 1f85fa0fe3..95adac8d2d 100644 --- a/node_modules/convert-to-spaces/package.json +++ b/node_modules/convert-to-spaces/package.json @@ -1,25 +1,40 @@ { "name": "convert-to-spaces", - "version": "1.0.2", + "version": "2.0.1", "description": "Convert tabs to spaces in a string", "license": "MIT", "repository": "vadimdemedes/convert-to-spaces", "author": "Vadim Demedes ", - "keywords": [ - "tabs", - "spaces" - ], - "engines": { - "node": ">= 4" - }, "scripts": { + "build": "tsc", + "dev": "tsc --watch", + "prepare": "npm run build", + "pretest": "npm run build", "test": "xo && ava" }, + "type": "module", + "exports": "./dist/index.js", + "types": "./dist/index.d.ts", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, "files": [ - "index.js" + "dist" + ], + "keywords": [ + "tabs", + "spaces" ], "devDependencies": { - "ava": "^0.18.2", - "xo": "^0.17.1" - } + "@sindresorhus/tsconfig": "^2.0.0", + "@vdemedes/prettier-config": "^2.0.1", + "ava": "^4.0.1", + "prettier": "^2.5.1", + "typescript": "^4.5.5", + "xo": "^0.47.0" + }, + "xo": { + "prettier": true + }, + "prettier": "@vdemedes/prettier-config" } diff --git a/node_modules/convert-to-spaces/readme.md b/node_modules/convert-to-spaces/readme.md index 9eccf42d0b..8918a5b546 100644 --- a/node_modules/convert-to-spaces/readme.md +++ b/node_modules/convert-to-spaces/readme.md @@ -1,34 +1,31 @@ -# convert-to-spaces [![Build Status](https://travis-ci.org/vadimdemedes/convert-to-spaces.svg?branch=master)](https://travis-ci.org/vadimdemedes/convert-to-spaces) +# convert-to-spaces [![Build Status](https://github.com/vadimdemedes/convert-to-spaces/workflows/test/badge.svg)](https://github.com/vadimdemedes/convert-to-spaces/actions) > Convert tabs to spaces in a string - ## Install ``` $ npm install --save convert-to-spaces ``` - ## Usage ```js -const convertToSpaces = require('convert-to-spaces'); +import convertToSpaces from 'convert-to-spaces'; convertToSpaces('\t\thello!'); //=> ' hello!' ``` - ## API -### convertToSpaces(str, [spaces]) +### convertToSpaces(input, [spaces]) -#### str +#### input Type: `string` -Source string. +String to convert. #### spaces @@ -37,12 +34,6 @@ Default: `2` Number of spaces instead of each tab. - ## Related - [convert-to-tabs](https://github.com/vadimdemedes/convert-to-tabs) - Convert spaces to tabs. - - -## License - -MIT © [Vadim Demedes](https://vadimdemedes.com) diff --git a/node_modules/debug/README.md b/node_modules/debug/README.md index 5ea4cd2759..e9c3e047c2 100644 --- a/node_modules/debug/README.md +++ b/node_modules/debug/README.md @@ -241,6 +241,9 @@ setInterval(function(){ }, 1200); ``` +In Chromium-based web browsers (e.g. Brave, Chrome, and Electron), the JavaScript console will—by default—only show messages logged by `debug` if the "Verbose" log level is _enabled_. + + ## Output streams diff --git a/node_modules/debug/package.json b/node_modules/debug/package.json index cb7efa8eec..3bcdc242fc 100644 --- a/node_modules/debug/package.json +++ b/node_modules/debug/package.json @@ -1,6 +1,6 @@ { "name": "debug", - "version": "4.3.3", + "version": "4.3.4", "repository": { "type": "git", "url": "git://github.com/debug-js/debug.git" diff --git a/node_modules/debug/src/common.js b/node_modules/debug/src/common.js index 6d571d2844..e3291b20fa 100644 --- a/node_modules/debug/src/common.js +++ b/node_modules/debug/src/common.js @@ -179,7 +179,7 @@ function setup(env) { namespaces = split[i].replace(/\*/g, '.*?'); if (namespaces[0] === '-') { - createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$')); } else { createDebug.names.push(new RegExp('^' + namespaces + '$')); } diff --git a/node_modules/del/index.d.ts b/node_modules/del/index.d.ts index 07b548446b..25608ebf8a 100644 --- a/node_modules/del/index.d.ts +++ b/node_modules/del/index.d.ts @@ -1,6 +1,23 @@ import {GlobbyOptions} from 'globby'; declare namespace del { + interface ProgressData { + /** + Deleted files and directories count. + */ + deletedCount: number; + + /** + Total files and directories count. + */ + totalCount: number; + + /** + Completed percentage. A value between `0` and `1`. + */ + percent: number; + } + interface Options extends GlobbyOptions { /** Allow deleting the current working directory and outside. @@ -33,6 +50,21 @@ declare namespace del { @default Infinity */ readonly concurrency?: number; + + /** + Called after each file or directory is deleted. + + @example + ``` + import del from 'del'; + + await del(patterns, { + onProgress: progress => { + // … + }}); + ``` + */ + readonly onProgress?: (progress: ProgressData) => void; } } @@ -43,7 +75,7 @@ declare const del: { Note that glob patterns can only contain forward-slashes, not backward-slashes. Windows file paths can use backward-slashes as long as the path does not contain any glob-like characters, otherwise use `path.posix.join()` instead of `path.join()`. @param patterns - See the supported [glob patterns](https://github.com/sindresorhus/globby#globbing-patterns). - - [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/master/test/test.js) + - [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/main/test/test.js) - [Quick globbing pattern overview](https://github.com/sindresorhus/multimatch#globbing-patterns) @param options - You can specify any of the [`globby` options](https://github.com/sindresorhus/globby#options) in addition to the `del` options. In contrast to the `globby` defaults, `expandDirectories`, `onlyFiles`, and `followSymbolicLinks` are `false` by default. @returns The deleted paths. @@ -59,7 +91,7 @@ declare const del: { Note that glob patterns can only contain forward-slashes, not backward-slashes. Windows file paths can use backward-slashes as long as the path does not contain any glob-like characters, otherwise use `path.posix.join()` instead of `path.join()`. @param patterns - See the supported [glob patterns](https://github.com/sindresorhus/globby#globbing-patterns). - - [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/master/test/test.js) + - [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/main/test/test.js) - [Quick globbing pattern overview](https://github.com/sindresorhus/multimatch#globbing-patterns) @param options - You can specify any of the [`globby` options](https://github.com/sindresorhus/globby#options) in addition to the `del` options. In contrast to the `globby` defaults, `expandDirectories`, `onlyFiles`, and `followSymbolicLinks` are `false` by default. @returns The deleted paths. diff --git a/node_modules/del/index.js b/node_modules/del/index.js index e1956b8eda..472b93c055 100644 --- a/node_modules/del/index.js +++ b/node_modules/del/index.js @@ -52,7 +52,7 @@ function normalizePatterns(patterns) { return patterns; } -module.exports = async (patterns, {force, dryRun, cwd = process.cwd(), ...options} = {}) => { +module.exports = async (patterns, {force, dryRun, cwd = process.cwd(), onProgress = () => {}, ...options} = {}) => { options = { expandDirectories: false, onlyFiles: false, @@ -66,6 +66,16 @@ module.exports = async (patterns, {force, dryRun, cwd = process.cwd(), ...option const files = (await globby(patterns, options)) .sort((a, b) => b.localeCompare(a)); + if (files.length === 0) { + onProgress({ + totalCount: 0, + deletedCount: 0, + percent: 1 + }); + } + + let deletedCount = 0; + const mapper = async file => { file = path.resolve(cwd, file); @@ -77,6 +87,14 @@ module.exports = async (patterns, {force, dryRun, cwd = process.cwd(), ...option await rimrafP(file, rimrafOptions); } + deletedCount += 1; + + onProgress({ + totalCount: files.length, + deletedCount, + percent: deletedCount / files.length + }); + return file; }; diff --git a/node_modules/del/package.json b/node_modules/del/package.json index ffb2cf07f2..7e89ac66f4 100644 --- a/node_modules/del/package.json +++ b/node_modules/del/package.json @@ -1,6 +1,6 @@ { "name": "del", - "version": "6.0.0", + "version": "6.1.1", "description": "Delete files and directories", "license": "MIT", "repository": "sindresorhus/del", diff --git a/node_modules/del/readme.md b/node_modules/del/readme.md index 29e837b7b5..eefdde8048 100644 --- a/node_modules/del/readme.md +++ b/node_modules/del/readme.md @@ -1,4 +1,4 @@ -# del [![Build Status](https://travis-ci.com/sindresorhus/del.svg?branch=master)](https://travis-ci.com/github/sindresorhus/del) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) +# del > Delete files and directories using [globs](https://github.com/sindresorhus/globby#globbing-patterns) @@ -21,7 +21,7 @@ const del = require('del'); console.log('Deleted files:\n', deletedFilePaths.join('\n')); console.log('\n\n'); - console.log('Deleted directories:\n', deletedDirectoryPaths.join('\n)); + console.log('Deleted directories:\n', deletedDirectoryPaths.join('\n')); })(); ``` @@ -67,7 +67,7 @@ Type: `string | string[]` See the supported [glob patterns](https://github.com/sindresorhus/globby#globbing-patterns). -- [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/master/test/test.js) +- [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/main/test/test.js) - [Quick globbing pattern overview](https://github.com/sindresorhus/multimatch#globbing-patterns) #### options @@ -108,6 +108,33 @@ Minimum: `1` Concurrency limit. +##### onProgress + +Type: `(progress: ProgressData) => void` + +Called after each file or directory is deleted. + +```js +import del from 'del'; + +await del(patterns, { + onProgress: progress => { + // … +}}); +``` + +###### ProgressData + +```js +{ + totalCount: number, + deletedCount: number, + percent: number +} +``` + +- `percent` is a value between `0` and `1` + ## CLI See [del-cli](https://github.com/sindresorhus/del-cli) for a CLI for this module and [trash-cli](https://github.com/sindresorhus/trash-cli) for a safe version that is suitable for running by hand. diff --git a/node_modules/emittery/index.d.ts b/node_modules/emittery/index.d.ts index dd40236692..de19515663 100644 --- a/node_modules/emittery/index.d.ts +++ b/node_modules/emittery/index.d.ts @@ -1,11 +1,11 @@ /* eslint-disable no-redeclare */ /** -Emittery accepts strings and symbols as event names. +Emittery accepts strings, symbols, and numbers as event names. -Symbol event names can be used to avoid name collisions when your classes are extended, especially for internal events. +Symbol event names are preferred given that they can be used to avoid name collisions when your classes are extended, especially for internal events. */ -type EventName = string | symbol; +type EventName = PropertyKey; // Helper type for turning the passed `EventData` type map into a list of string keys that don't require data alongside the event name when emitting. Uses the same trick that `Omit` does internally to filter keys by building a map of keys to keys we want to keep, and then accessing all the keys to return just the list of keys we want to keep. type DatalessEventNames = { @@ -14,7 +14,7 @@ type DatalessEventNames = { declare const listenerAdded: unique symbol; declare const listenerRemoved: unique symbol; -type OmnipresentEventData = {[listenerAdded]: Emittery.ListenerChangedData; [listenerRemoved]: Emittery.ListenerChangedData}; +type _OmnipresentEventData = {[listenerAdded]: Emittery.ListenerChangedData; [listenerRemoved]: Emittery.ListenerChangedData}; /** Emittery can collect and log debug information. @@ -90,7 +90,7 @@ interface DebugOptions { (type, debugName, eventName, eventData) => { eventData = JSON.stringify(eventData); - if (typeof eventName === 'symbol') { + if (typeof eventName === 'symbol' || typeof eventName === 'number') { eventName = eventName.toString(); } @@ -142,7 +142,7 @@ Emittery is a strictly typed, fully async EventEmitter implementation. Event lis import Emittery = require('emittery'); const emitter = new Emittery< - // Pass `{[eventName: ]: undefined | }` as the first type argument for events that pass data to their listeners. + // Pass `{[eventName: ]: undefined | }` as the first type argument for events that pass data to their listeners. // A value of `undefined` in this map means the event listeners should expect no data, and a type other than `undefined` means the listeners will receive one argument of that type. { open: string, @@ -164,8 +164,8 @@ emitter.emit('other'); ``` */ declare class Emittery< - EventData = Record, // When https://github.com/microsoft/TypeScript/issues/1863 ships, we can switch this to have an index signature including Symbols. If you want to use symbol keys right now, you need to pass an interface with those symbol keys explicitly listed. - AllEventData = EventData & OmnipresentEventData, + EventData = Record, + AllEventData = EventData & _OmnipresentEventData, DatalessEvents = DatalessEventNames > { /** @@ -592,6 +592,8 @@ declare namespace Emittery { */ eventName?: EventName; } + + type OmnipresentEventData = _OmnipresentEventData; } export = Emittery; diff --git a/node_modules/emittery/index.js b/node_modules/emittery/index.js index cd4a5ae4eb..09c2fcc21e 100644 --- a/node_modules/emittery/index.js +++ b/node_modules/emittery/index.js @@ -6,14 +6,22 @@ const producersMap = new WeakMap(); const anyProducer = Symbol('anyProducer'); const resolvedPromise = Promise.resolve(); +// Define symbols for "meta" events. const listenerAdded = Symbol('listenerAdded'); const listenerRemoved = Symbol('listenerRemoved'); +// Define a symbol that allows internal code to emit meta events, but prevents userland from doing so. +const metaEventsAllowed = Symbol('metaEventsAllowed'); + let isGlobalDebugEnabled = false; -function assertEventName(eventName) { - if (typeof eventName !== 'string' && typeof eventName !== 'symbol') { - throw new TypeError('eventName must be a string or a symbol'); +function assertEventName(eventName, allowMetaEvents) { + if (typeof eventName !== 'string' && typeof eventName !== 'symbol' && typeof eventName !== 'number') { + throw new TypeError('`eventName` must be a string, symbol, or number'); + } + + if (isMetaEvent(eventName) && allowMetaEvents !== metaEventsAllowed) { + throw new TypeError('`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`'); } } @@ -33,7 +41,7 @@ function getListeners(instance, eventName) { } function getEventProducers(instance, eventName) { - const key = typeof eventName === 'string' || typeof eventName === 'symbol' ? eventName : anyProducer; + const key = typeof eventName === 'string' || typeof eventName === 'symbol' || typeof eventName === 'number' ? eventName : anyProducer; const producers = producersMap.get(instance); if (!producers.has(key)) { producers.set(key, new Set()); @@ -147,7 +155,7 @@ function defaultMethodNamesOrAssert(methodNames) { return methodNames; } -const isListenerSymbol = symbol => symbol === listenerAdded || symbol === listenerRemoved; +const isMetaEvent = eventName => eventName === listenerAdded || eventName === listenerRemoved; class Emittery { static mixin(emitteryPropertyName, methodNames) { @@ -216,9 +224,14 @@ class Emittery { if (!this.debug.logger) { this.debug.logger = (type, debugName, eventName, eventData) => { - eventData = JSON.stringify(eventData); + try { + // TODO: Use https://github.com/sindresorhus/safe-stringify when the package is more mature. Just copy-paste the code. + eventData = JSON.stringify(eventData); + } catch { + eventData = `Object with the following keys failed to stringify: ${Object.keys(eventData).join(',')}`; + } - if (typeof eventName === 'symbol') { + if (typeof eventName === 'symbol' || typeof eventName === 'number') { eventName = eventName.toString(); } @@ -240,13 +253,13 @@ class Emittery { eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; for (const eventName of eventNames) { - assertEventName(eventName); + assertEventName(eventName, metaEventsAllowed); getListeners(this, eventName).add(listener); this.logIfDebugEnabled('subscribe', eventName, undefined); - if (!isListenerSymbol(eventName)) { - this.emit(listenerAdded, {eventName, listener}); + if (!isMetaEvent(eventName)) { + this.emit(listenerAdded, {eventName, listener}, metaEventsAllowed); } } @@ -258,13 +271,13 @@ class Emittery { eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; for (const eventName of eventNames) { - assertEventName(eventName); + assertEventName(eventName, metaEventsAllowed); getListeners(this, eventName).delete(listener); this.logIfDebugEnabled('unsubscribe', eventName, undefined); - if (!isListenerSymbol(eventName)) { - this.emit(listenerRemoved, {eventName, listener}); + if (!isMetaEvent(eventName)) { + this.emit(listenerRemoved, {eventName, listener}, metaEventsAllowed); } } } @@ -281,14 +294,14 @@ class Emittery { events(eventNames) { eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; for (const eventName of eventNames) { - assertEventName(eventName); + assertEventName(eventName, metaEventsAllowed); } return iterator(this, eventNames); } - async emit(eventName, eventData) { - assertEventName(eventName); + async emit(eventName, eventData, allowMetaEvents) { + assertEventName(eventName, allowMetaEvents); this.logIfDebugEnabled('emit', eventName, eventData); @@ -297,7 +310,7 @@ class Emittery { const listeners = getListeners(this, eventName); const anyListeners = anyMap.get(this); const staticListeners = [...listeners]; - const staticAnyListeners = isListenerSymbol(eventName) ? [] : [...anyListeners]; + const staticAnyListeners = isMetaEvent(eventName) ? [] : [...anyListeners]; await resolvedPromise; await Promise.all([ @@ -314,8 +327,8 @@ class Emittery { ]); } - async emitSerial(eventName, eventData) { - assertEventName(eventName); + async emitSerial(eventName, eventData, allowMetaEvents) { + assertEventName(eventName, allowMetaEvents); this.logIfDebugEnabled('emitSerial', eventName, eventData); @@ -346,7 +359,7 @@ class Emittery { this.logIfDebugEnabled('subscribeAny', undefined, undefined); anyMap.get(this).add(listener); - this.emit(listenerAdded, {listener}); + this.emit(listenerAdded, {listener}, metaEventsAllowed); return this.offAny.bind(this, listener); } @@ -359,7 +372,7 @@ class Emittery { this.logIfDebugEnabled('unsubscribeAny', undefined, undefined); - this.emit(listenerRemoved, {listener}); + this.emit(listenerRemoved, {listener}, metaEventsAllowed); anyMap.get(this).delete(listener); } @@ -369,7 +382,7 @@ class Emittery { for (const eventName of eventNames) { this.logIfDebugEnabled('clear', eventName, undefined); - if (typeof eventName === 'string' || typeof eventName === 'symbol') { + if (typeof eventName === 'string' || typeof eventName === 'symbol' || typeof eventName === 'number') { getListeners(this, eventName).clear(); const producers = getEventProducers(this, eventName); @@ -409,7 +422,7 @@ class Emittery { } if (typeof eventName !== 'undefined') { - assertEventName(eventName); + assertEventName(eventName, metaEventsAllowed); } count += anyMap.get(this).size; diff --git a/node_modules/emittery/package.json b/node_modules/emittery/package.json index f75e266601..752b5c0280 100644 --- a/node_modules/emittery/package.json +++ b/node_modules/emittery/package.json @@ -1,6 +1,6 @@ { "name": "emittery", - "version": "0.10.0", + "version": "0.11.0", "description": "Simple and modern async event emitter", "license": "MIT", "repository": "sindresorhus/emittery", @@ -53,7 +53,7 @@ "delay": "^4.3.0", "nyc": "^15.0.0", "p-event": "^4.1.0", - "tsd": "^0.16.0", + "tsd": "^0.19.1", "xo": "^0.39.0" }, "nyc": { diff --git a/node_modules/emittery/readme.md b/node_modules/emittery/readme.md index 0469b8029b..eba9168373 100644 --- a/node_modules/emittery/readme.md +++ b/node_modules/emittery/readme.md @@ -40,9 +40,9 @@ emitter.emit(myUnicorn, '🦋'); // Will trigger printing 'Unicorns love 🦋' ### eventName -Emittery accepts strings and symbols as event names. +Emittery accepts strings, symbols, and numbers as event names. -Symbol event names can be used to avoid name collisions when your classes are extended, especially for internal events. +Symbol event names are preferred given that they can be used to avoid name collisions when your classes are extended, especially for internal events. ### isDebugEnabled @@ -89,7 +89,7 @@ Configure the new instance of Emittery. ##### debug? -Type: `objcect` +Type: `object` Configure the debugging options for this instance. @@ -160,7 +160,7 @@ Default: eventData = JSON.stringify(eventData); } - if (typeof eventName === 'symbol') { + if (typeof eventName === 'symbol' || typeof eventName === 'number') { eventName = eventName.toString(); } @@ -222,7 +222,7 @@ emitter.emit('🐶', '🍖'); // log => '🍖' ##### Custom subscribable events -Emittery exports some symbols which represent custom events that can be passed to `Emitter.on` and similar methods. +Emittery exports some symbols which represent "meta" events that can be passed to `Emitter.on` and similar methods. - `Emittery.listenerAdded` - Fires when an event listener was added. - `Emittery.listenerRemoved` - Fires when an event listener was removed. diff --git a/node_modules/figures/index.js b/node_modules/figures/index.js index 547a0cd47e..857636d5c9 100644 --- a/node_modules/figures/index.js +++ b/node_modules/figures/index.js @@ -1,3 +1,4 @@ +import process from 'node:process'; import escapeStringRegexp from 'escape-string-regexp'; import isUnicodeSupported from 'is-unicode-supported'; @@ -195,21 +196,21 @@ const common = { lineUpDownLeftDoubleRightDouble: '╪', lineCross: '╳', lineBackslash: '╲', - lineSlash: '╱' + lineSlash: '╱', }; export const mainSymbols = { ...common, // The main symbols for those do not look that good on Ubuntu. ...( - platform === 'linux' ? - { + platform === 'linux' + ? { circleQuestionMark: '?⃝', - questionMarkPrefix: '?⃝' - } : - { + questionMarkPrefix: '?⃝', + } + : { circleQuestionMark: '?', - questionMarkPrefix: '?' + questionMarkPrefix: '?', } ), tick: '✔', @@ -245,7 +246,7 @@ export const mainSymbols = { nodejs: '⬢', oneSeventh: '⅐', oneNinth: '⅑', - oneTenth: '⅒' + oneTenth: '⅒', }; export const fallbackSymbols = { @@ -285,7 +286,7 @@ export const fallbackSymbols = { nodejs: '♦', oneSeventh: '1/7', oneNinth: '1/9', - oneTenth: '1/10' + oneTenth: '1/10', }; const shouldUseMain = isUnicodeSupported(); diff --git a/node_modules/figures/package.json b/node_modules/figures/package.json index 0528984e9d..d6efeffc38 100644 --- a/node_modules/figures/package.json +++ b/node_modules/figures/package.json @@ -1,6 +1,6 @@ { "name": "figures", - "version": "4.0.0", + "version": "4.0.1", "description": "Unicode symbols with fallbacks for older terminals", "license": "MIT", "repository": "sindresorhus/figures", @@ -36,12 +36,12 @@ ], "dependencies": { "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.0.0" + "is-unicode-supported": "^1.2.0" }, "devDependencies": { - "ava": "^3.15.0", - "tsd": "^0.17.0", - "typescript": "^4.3.5", - "xo": "^0.40.3" + "ava": "^4.1.0", + "tsd": "^0.19.1", + "typescript": "^4.6.3", + "xo": "^0.48.0" } } diff --git a/node_modules/figures/readme.md b/node_modules/figures/readme.md index 24daa95167..7e483ed85e 100644 --- a/node_modules/figures/readme.md +++ b/node_modules/figures/readme.md @@ -27,7 +27,7 @@ console.log(figures.mainSymbols.tick); // On all terminals: ✔︎ console.log(figures.fallbackSymbols.tick); -// On all terminal: √ +// On all terminals: √ console.log(figures.replaceSymbols('✔︎ check')); // On terminals with Unicode symbols: ✔︎ check diff --git a/node_modules/ignore-by-default/index.js b/node_modules/ignore-by-default/index.js index 74e03ea22d..f9281a9a12 100644 --- a/node_modules/ignore-by-default/index.js +++ b/node_modules/ignore-by-default/index.js @@ -5,6 +5,7 @@ exports.directories = () => [ '.log', // Log files emitted by tools such as `tsserver`, see '.nyc_output', // Temporary directory where nyc stores coverage data, see '.sass-cache', // Cache folder for node-sass, see + '.yarn', // Where node modules are installed when using Yarn, see 'bower_components', // Where Bower packages are installed, see 'coverage', // Standard output directory for code coverage reports, see 'node_modules' // Where Node modules are installed, see diff --git a/node_modules/ignore-by-default/package.json b/node_modules/ignore-by-default/package.json index 4cc04ae5db..1aea20b565 100644 --- a/node_modules/ignore-by-default/package.json +++ b/node_modules/ignore-by-default/package.json @@ -1,6 +1,6 @@ { "name": "ignore-by-default", - "version": "2.0.0", + "version": "2.1.0", "description": "A list of directories you should ignore by default", "engines": { "node": ">=10 <11 || >=12 <13 || >=14" diff --git a/node_modules/is-typedarray/LICENSE.md b/node_modules/is-typedarray/LICENSE.md deleted file mode 100644 index ee27ba4b44..0000000000 --- a/node_modules/is-typedarray/LICENSE.md +++ /dev/null @@ -1,18 +0,0 @@ -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/is-typedarray/README.md b/node_modules/is-typedarray/README.md deleted file mode 100644 index 2752863919..0000000000 --- a/node_modules/is-typedarray/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# is-typedarray [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges) - -Detect whether or not an object is a -[Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays). - -## Usage - -[![NPM](https://nodei.co/npm/is-typedarray.png)](https://nodei.co/npm/is-typedarray/) - -### isTypedArray(array) - -Returns `true` when array is a Typed Array, and `false` when it is not. - -## License - -MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details. diff --git a/node_modules/is-typedarray/index.js b/node_modules/is-typedarray/index.js deleted file mode 100644 index 58596036cd..0000000000 --- a/node_modules/is-typedarray/index.js +++ /dev/null @@ -1,41 +0,0 @@ -module.exports = isTypedArray -isTypedArray.strict = isStrictTypedArray -isTypedArray.loose = isLooseTypedArray - -var toString = Object.prototype.toString -var names = { - '[object Int8Array]': true - , '[object Int16Array]': true - , '[object Int32Array]': true - , '[object Uint8Array]': true - , '[object Uint8ClampedArray]': true - , '[object Uint16Array]': true - , '[object Uint32Array]': true - , '[object Float32Array]': true - , '[object Float64Array]': true -} - -function isTypedArray(arr) { - return ( - isStrictTypedArray(arr) - || isLooseTypedArray(arr) - ) -} - -function isStrictTypedArray(arr) { - return ( - arr instanceof Int8Array - || arr instanceof Int16Array - || arr instanceof Int32Array - || arr instanceof Uint8Array - || arr instanceof Uint8ClampedArray - || arr instanceof Uint16Array - || arr instanceof Uint32Array - || arr instanceof Float32Array - || arr instanceof Float64Array - ) -} - -function isLooseTypedArray(arr) { - return names[toString.call(arr)] -} diff --git a/node_modules/is-typedarray/package.json b/node_modules/is-typedarray/package.json deleted file mode 100644 index 37f7ae31c1..0000000000 --- a/node_modules/is-typedarray/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "is-typedarray", - "version": "1.0.0", - "description": "Detect whether or not an object is a Typed Array", - "main": "index.js", - "scripts": { - "test": "node test" - }, - "author": "Hugh Kennedy (http://hughsk.io/)", - "license": "MIT", - "dependencies": {}, - "devDependencies": { - "tape": "^2.13.1" - }, - "repository": { - "type": "git", - "url": "git://github.com/hughsk/is-typedarray.git" - }, - "keywords": [ - "typed", - "array", - "detect", - "is", - "util" - ], - "bugs": { - "url": "https://github.com/hughsk/is-typedarray/issues" - }, - "homepage": "https://github.com/hughsk/is-typedarray" -} diff --git a/node_modules/is-typedarray/test.js b/node_modules/is-typedarray/test.js deleted file mode 100644 index b0c176fa30..0000000000 --- a/node_modules/is-typedarray/test.js +++ /dev/null @@ -1,34 +0,0 @@ -var test = require('tape') -var ista = require('./') - -test('strict', function(t) { - t.ok(ista.strict(new Int8Array), 'Int8Array') - t.ok(ista.strict(new Int16Array), 'Int16Array') - t.ok(ista.strict(new Int32Array), 'Int32Array') - t.ok(ista.strict(new Uint8Array), 'Uint8Array') - t.ok(ista.strict(new Uint16Array), 'Uint16Array') - t.ok(ista.strict(new Uint32Array), 'Uint32Array') - t.ok(ista.strict(new Float32Array), 'Float32Array') - t.ok(ista.strict(new Float64Array), 'Float64Array') - - t.ok(!ista.strict(new Array), 'Array') - t.ok(!ista.strict([]), '[]') - - t.end() -}) - -test('loose', function(t) { - t.ok(ista.loose(new Int8Array), 'Int8Array') - t.ok(ista.loose(new Int16Array), 'Int16Array') - t.ok(ista.loose(new Int32Array), 'Int32Array') - t.ok(ista.loose(new Uint8Array), 'Uint8Array') - t.ok(ista.loose(new Uint16Array), 'Uint16Array') - t.ok(ista.loose(new Uint32Array), 'Uint32Array') - t.ok(ista.loose(new Float32Array), 'Float32Array') - t.ok(ista.loose(new Float64Array), 'Float64Array') - - t.ok(!ista.loose(new Array), 'Array') - t.ok(!ista.loose([]), '[]') - - t.end() -}) diff --git a/node_modules/is-unicode-supported/index.js b/node_modules/is-unicode-supported/index.js index 1db11b7539..e2e1736190 100644 --- a/node_modules/is-unicode-supported/index.js +++ b/node_modules/is-unicode-supported/index.js @@ -1,12 +1,15 @@ +import process from 'node:process'; + export default function isUnicodeSupported() { if (process.platform !== 'win32') { return process.env.TERM !== 'linux'; // Linux console (kernel) } - return Boolean(process.env.CI) || - Boolean(process.env.WT_SESSION) || // Windows Terminal - process.env.ConEmuTask === '{cmd::Cmder}' || // ConEmu and cmder - process.env.TERM_PROGRAM === 'vscode' || - process.env.TERM === 'xterm-256color' || - process.env.TERM === 'alacritty'; + return Boolean(process.env.CI) + || Boolean(process.env.WT_SESSION) // Windows Terminal + || process.env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder + || process.env.TERM_PROGRAM === 'vscode' + || process.env.TERM === 'xterm-256color' + || process.env.TERM === 'alacritty' + || process.env.TERMINAL_EMULATOR === 'JetBrains-JediTerm'; } diff --git a/node_modules/is-unicode-supported/package.json b/node_modules/is-unicode-supported/package.json index 3ba3715f7d..587908918e 100644 --- a/node_modules/is-unicode-supported/package.json +++ b/node_modules/is-unicode-supported/package.json @@ -1,6 +1,6 @@ { "name": "is-unicode-supported", - "version": "1.1.0", + "version": "1.2.0", "description": "Detect whether the terminal supports Unicode", "license": "MIT", "repository": "sindresorhus/is-unicode-supported", @@ -36,8 +36,8 @@ "detection" ], "devDependencies": { - "ava": "^3.15.0", - "tsd": "^0.14.0", - "xo": "^0.38.2" + "ava": "^4.0.1", + "tsd": "^0.19.1", + "xo": "^0.47.0" } } diff --git a/node_modules/is-unicode-supported/readme.md b/node_modules/is-unicode-supported/readme.md index d34064d62f..e1954ec37e 100644 --- a/node_modules/is-unicode-supported/readme.md +++ b/node_modules/is-unicode-supported/readme.md @@ -8,8 +8,8 @@ Note that the check is quite naive. It just assumes all non-Windows terminals su ## Install -``` -$ npm install is-unicode-supported +```sh +npm install is-unicode-supported ``` ## Usage diff --git a/node_modules/picomatch/CHANGELOG.md b/node_modules/picomatch/CHANGELOG.md index b9b9554df7..8ccc6c1bab 100644 --- a/node_modules/picomatch/CHANGELOG.md +++ b/node_modules/picomatch/CHANGELOG.md @@ -32,6 +32,16 @@ Changelog entries are classified using the following labels _(from [keep-a-chang +## 2.3.1 (2022-01-02) + +### Fixed + +* Fixes bug when a pattern containing an expression after the closing parenthesis (`/!(*.d).{ts,tsx}`) was incorrectly converted to regexp ([9f241ef](https://github.com/micromatch/picomatch/commit/9f241ef)). + +### Changed + +* Some documentation improvements ([f81d236](https://github.com/micromatch/picomatch/commit/f81d236), [421e0e7](https://github.com/micromatch/picomatch/commit/421e0e7)). + ## 2.3.0 (2021-05-21) ### Fixed diff --git a/node_modules/picomatch/README.md b/node_modules/picomatch/README.md index 54822d498d..b0526e28a3 100644 --- a/node_modules/picomatch/README.md +++ b/node_modules/picomatch/README.md @@ -312,12 +312,11 @@ The following options may be used with the main `picomatch()` function or any of | `expandRange` | `function` | `undefined` | Custom function for expanding ranges in brace patterns, such as `{a..z}`. The function receives the range values as two arguments, and it must return a string to be used in the generated regex. It's recommended that returned strings be wrapped in parentheses. | | `failglob` | `boolean` | `false` | Throws an error if no matches are found. Based on the bash option of the same name. | | `fastpaths` | `boolean` | `true` | To speed up processing, full parsing is skipped for a handful common glob patterns. Disable this behavior by setting this option to `false`. | -| `flags` | `boolean` | `undefined` | Regex flags to use in the generated regex. If defined, the `nocase` option will be overridden. | +| `flags` | `string` | `undefined` | Regex flags to use in the generated regex. If defined, the `nocase` option will be overridden. | | [format](#optionsformat) | `function` | `undefined` | Custom function for formatting the returned string. This is useful for removing leading slashes, converting Windows paths to Posix paths, etc. | | `ignore` | `array\|string` | `undefined` | One or more glob patterns for excluding strings that should not be matched from the result. | | `keepQuotes` | `boolean` | `false` | Retain quotes in the generated regex, since quotes may also be used as an alternative to backslashes. | | `literalBrackets` | `boolean` | `undefined` | When `true`, brackets in the glob pattern will be escaped so that only literal brackets will be matched. | -| `lookbehinds` | `boolean` | `true` | Support regex positive and negative lookbehinds. Note that you must be using Node 8.1.10 or higher to enable regex lookbehinds. | | `matchBase` | `boolean` | `false` | Alias for `basename` | | `maxLength` | `boolean` | `65536` | Limit the max length of the input string. An error is thrown if the input string is longer than this value. | | `nobrace` | `boolean` | `false` | Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters. | @@ -341,6 +340,8 @@ The following options may be used with the main `picomatch()` function or any of | `unescape` | `boolean` | `undefined` | Remove backslashes preceding escaped characters in the glob pattern. By default, backslashes are retained. | | `unixify` | `boolean` | `undefined` | Alias for `posixSlashes`, for backwards compatibility. | +picomatch has automatic detection for regex positive and negative lookbehinds. If the pattern contains a negative lookbehind, you must be using Node.js >= 8.10 or else picomatch will throw an error. + ### Scan Options In addition to the main [picomatch options](#picomatch-options), the following options may also be used with the [.scan](#scan) method. @@ -704,4 +705,4 @@ npm install -g verbose/verb#dev verb-generate-readme && verb ### License Copyright © 2017-present, [Jon Schlinkert](https://github.com/jonschlinkert). -Released under the [MIT License](LICENSE). \ No newline at end of file +Released under the [MIT License](LICENSE). diff --git a/node_modules/picomatch/lib/parse.js b/node_modules/picomatch/lib/parse.js index c16d59d9a6..58269d018d 100644 --- a/node_modules/picomatch/lib/parse.js +++ b/node_modules/picomatch/lib/parse.js @@ -250,7 +250,14 @@ const parse = (input, options) => { } if (token.inner.includes('*') && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) { - output = token.close = `)${rest})${extglobStar})`; + // Any non-magical string (`.ts`) or even nested expression (`.{ts,tsx}`) can follow after the closing parenthesis. + // In this case, we need to parse the string and use it in the output of the original pattern. + // Suitable patterns: `/!(*.d).ts`, `/!(*.d).{ts,tsx}`, `**/!(*-dbg).@(js)`. + // + // Disabling the `fastpaths` option due to a problem with parsing strings as `.ts` in the pattern like `**/!(*.d).ts`. + const expression = parse(rest, { ...options, fastpaths: false }).output; + + output = token.close = `)${expression})${extglobStar})`; } if (token.prev.type === 'bos') { diff --git a/node_modules/picomatch/package.json b/node_modules/picomatch/package.json index 4c8acf0b06..3db22d408f 100644 --- a/node_modules/picomatch/package.json +++ b/node_modules/picomatch/package.json @@ -1,7 +1,7 @@ { "name": "picomatch", "description": "Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.", - "version": "2.3.0", + "version": "2.3.1", "homepage": "https://github.com/micromatch/picomatch", "author": "Jon Schlinkert (https://github.com/jonschlinkert)", "funding": "https://github.com/sponsors/jonschlinkert", diff --git a/node_modules/signal-exit/CHANGELOG.md b/node_modules/signal-exit/CHANGELOG.md deleted file mode 100644 index ed104f41bb..0000000000 --- a/node_modules/signal-exit/CHANGELOG.md +++ /dev/null @@ -1,35 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. - -### [3.0.3](https://github.com/tapjs/signal-exit/compare/v3.0.2...v3.0.3) (2020-03-26) - - -### Bug Fixes - -* patch `SIGHUP` to `SIGINT` when on Windows ([cfd1046](https://github.com/tapjs/signal-exit/commit/cfd1046079af4f0e44f93c69c237a09de8c23ef2)) -* **ci:** use Travis for Windows builds ([007add7](https://github.com/tapjs/signal-exit/commit/007add793d2b5ae3c382512103adbf321768a0b8)) - - -## [3.0.1](https://github.com/tapjs/signal-exit/compare/v3.0.0...v3.0.1) (2016-09-08) - - -### Bug Fixes - -* do not listen on SIGBUS, SIGFPE, SIGSEGV and SIGILL ([#40](https://github.com/tapjs/signal-exit/issues/40)) ([5b105fb](https://github.com/tapjs/signal-exit/commit/5b105fb)) - - - - -# [3.0.0](https://github.com/tapjs/signal-exit/compare/v2.1.2...v3.0.0) (2016-06-13) - - -### Bug Fixes - -* get our test suite running on Windows ([#23](https://github.com/tapjs/signal-exit/issues/23)) ([6f3eda8](https://github.com/tapjs/signal-exit/commit/6f3eda8)) -* hooking SIGPROF was interfering with profilers see [#21](https://github.com/tapjs/signal-exit/issues/21) ([#24](https://github.com/tapjs/signal-exit/issues/24)) ([1248a4c](https://github.com/tapjs/signal-exit/commit/1248a4c)) - - -### BREAKING CHANGES - -* signal-exit no longer wires into SIGPROF diff --git a/node_modules/signal-exit/README.md b/node_modules/signal-exit/README.md index 9f8eb5917d..f9c7c007d5 100644 --- a/node_modules/signal-exit/README.md +++ b/node_modules/signal-exit/README.md @@ -30,7 +30,7 @@ The return value of the function is a function that will remove the handler. Note that the function *only* fires for signals if the signal would -cause the proces to exit. That is, there are no other listeners, and +cause the process to exit. That is, there are no other listeners, and it is a fatal signal. ## Options diff --git a/node_modules/signal-exit/index.js b/node_modules/signal-exit/index.js index 6b6c43acad..93703f3692 100644 --- a/node_modules/signal-exit/index.js +++ b/node_modules/signal-exit/index.js @@ -1,163 +1,202 @@ // Note: since nyc uses this module to output coverage, any lines // that are in the direct sync flow of nyc's outputCoverage are // ignored, since we can never get coverage for them. -var assert = require('assert') -var signals = require('./signals.js') -var isWin = /^win/i.test(process.platform) - -var EE = require('events') -/* istanbul ignore if */ -if (typeof EE !== 'function') { - EE = EE.EventEmitter +// grab a reference to node's real process object right away +var process = global.process + +const processOk = function (process) { + return process && + typeof process === 'object' && + typeof process.removeListener === 'function' && + typeof process.emit === 'function' && + typeof process.reallyExit === 'function' && + typeof process.listeners === 'function' && + typeof process.kill === 'function' && + typeof process.pid === 'number' && + typeof process.on === 'function' } -var emitter -if (process.__signal_exit_emitter__) { - emitter = process.__signal_exit_emitter__ +// some kind of non-node environment, just no-op +/* istanbul ignore if */ +if (!processOk(process)) { + module.exports = function () { + return function () {} + } } else { - emitter = process.__signal_exit_emitter__ = new EE() - emitter.count = 0 - emitter.emitted = {} -} - -// Because this emitter is a global, we have to check to see if a -// previous version of this library failed to enable infinite listeners. -// I know what you're about to say. But literally everything about -// signal-exit is a compromise with evil. Get used to it. -if (!emitter.infinite) { - emitter.setMaxListeners(Infinity) - emitter.infinite = true -} - -module.exports = function (cb, opts) { - assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler') + var assert = require('assert') + var signals = require('./signals.js') + var isWin = /^win/i.test(process.platform) + + var EE = require('events') + /* istanbul ignore if */ + if (typeof EE !== 'function') { + EE = EE.EventEmitter + } - if (loaded === false) { - load() + var emitter + if (process.__signal_exit_emitter__) { + emitter = process.__signal_exit_emitter__ + } else { + emitter = process.__signal_exit_emitter__ = new EE() + emitter.count = 0 + emitter.emitted = {} } - var ev = 'exit' - if (opts && opts.alwaysLast) { - ev = 'afterexit' + // Because this emitter is a global, we have to check to see if a + // previous version of this library failed to enable infinite listeners. + // I know what you're about to say. But literally everything about + // signal-exit is a compromise with evil. Get used to it. + if (!emitter.infinite) { + emitter.setMaxListeners(Infinity) + emitter.infinite = true } - var remove = function () { - emitter.removeListener(ev, cb) - if (emitter.listeners('exit').length === 0 && - emitter.listeners('afterexit').length === 0) { - unload() + module.exports = function (cb, opts) { + /* istanbul ignore if */ + if (!processOk(global.process)) { + return function () {} } - } - emitter.on(ev, cb) + assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler') - return remove -} + if (loaded === false) { + load() + } -module.exports.unload = unload -function unload () { - if (!loaded) { - return - } - loaded = false + var ev = 'exit' + if (opts && opts.alwaysLast) { + ev = 'afterexit' + } - signals.forEach(function (sig) { - try { - process.removeListener(sig, sigListeners[sig]) - } catch (er) {} - }) - process.emit = originalProcessEmit - process.reallyExit = originalProcessReallyExit - emitter.count -= 1 -} + var remove = function () { + emitter.removeListener(ev, cb) + if (emitter.listeners('exit').length === 0 && + emitter.listeners('afterexit').length === 0) { + unload() + } + } + emitter.on(ev, cb) -function emit (event, code, signal) { - if (emitter.emitted[event]) { - return + return remove } - emitter.emitted[event] = true - emitter.emit(event, code, signal) -} -// { : , ... } -var sigListeners = {} -signals.forEach(function (sig) { - sigListeners[sig] = function listener () { - // If there are no other listeners, an exit is coming! - // Simplest way: remove us and then re-send the signal. - // We know that this will kill the process, so we can - // safely emit now. - var listeners = process.listeners(sig) - if (listeners.length === emitter.count) { - unload() - emit('exit', null, sig) - /* istanbul ignore next */ - emit('afterexit', null, sig) - /* istanbul ignore next */ - if (isWin && sig === 'SIGHUP') { - // "SIGHUP" throws an `ENOSYS` error on Windows, - // so use a supported signal instead - sig = 'SIGINT' - } - process.kill(process.pid, sig) + var unload = function unload () { + if (!loaded || !processOk(global.process)) { + return } + loaded = false + + signals.forEach(function (sig) { + try { + process.removeListener(sig, sigListeners[sig]) + } catch (er) {} + }) + process.emit = originalProcessEmit + process.reallyExit = originalProcessReallyExit + emitter.count -= 1 } -}) - -module.exports.signals = function () { - return signals -} - -module.exports.load = load + module.exports.unload = unload -var loaded = false - -function load () { - if (loaded) { - return + var emit = function emit (event, code, signal) { + /* istanbul ignore if */ + if (emitter.emitted[event]) { + return + } + emitter.emitted[event] = true + emitter.emit(event, code, signal) } - loaded = true - - // This is the number of onSignalExit's that are in play. - // It's important so that we can count the correct number of - // listeners on signals, and don't wait for the other one to - // handle it instead of us. - emitter.count += 1 - - signals = signals.filter(function (sig) { - try { - process.on(sig, sigListeners[sig]) - return true - } catch (er) { - return false + + // { : , ... } + var sigListeners = {} + signals.forEach(function (sig) { + sigListeners[sig] = function listener () { + /* istanbul ignore if */ + if (!processOk(global.process)) { + return + } + // If there are no other listeners, an exit is coming! + // Simplest way: remove us and then re-send the signal. + // We know that this will kill the process, so we can + // safely emit now. + var listeners = process.listeners(sig) + if (listeners.length === emitter.count) { + unload() + emit('exit', null, sig) + /* istanbul ignore next */ + emit('afterexit', null, sig) + /* istanbul ignore next */ + if (isWin && sig === 'SIGHUP') { + // "SIGHUP" throws an `ENOSYS` error on Windows, + // so use a supported signal instead + sig = 'SIGINT' + } + /* istanbul ignore next */ + process.kill(process.pid, sig) + } } }) - process.emit = processEmit - process.reallyExit = processReallyExit -} + module.exports.signals = function () { + return signals + } -var originalProcessReallyExit = process.reallyExit -function processReallyExit (code) { - process.exitCode = code || 0 - emit('exit', process.exitCode, null) - /* istanbul ignore next */ - emit('afterexit', process.exitCode, null) - /* istanbul ignore next */ - originalProcessReallyExit.call(process, process.exitCode) -} + var loaded = false -var originalProcessEmit = process.emit -function processEmit (ev, arg) { - if (ev === 'exit') { - if (arg !== undefined) { - process.exitCode = arg + var load = function load () { + if (loaded || !processOk(global.process)) { + return } - var ret = originalProcessEmit.apply(this, arguments) + loaded = true + + // This is the number of onSignalExit's that are in play. + // It's important so that we can count the correct number of + // listeners on signals, and don't wait for the other one to + // handle it instead of us. + emitter.count += 1 + + signals = signals.filter(function (sig) { + try { + process.on(sig, sigListeners[sig]) + return true + } catch (er) { + return false + } + }) + + process.emit = processEmit + process.reallyExit = processReallyExit + } + module.exports.load = load + + var originalProcessReallyExit = process.reallyExit + var processReallyExit = function processReallyExit (code) { + /* istanbul ignore if */ + if (!processOk(global.process)) { + return + } + process.exitCode = code || /* istanbul ignore next */ 0 emit('exit', process.exitCode, null) /* istanbul ignore next */ emit('afterexit', process.exitCode, null) - return ret - } else { - return originalProcessEmit.apply(this, arguments) + /* istanbul ignore next */ + originalProcessReallyExit.call(process, process.exitCode) + } + + var originalProcessEmit = process.emit + var processEmit = function processEmit (ev, arg) { + if (ev === 'exit' && processOk(global.process)) { + /* istanbul ignore else */ + if (arg !== undefined) { + process.exitCode = arg + } + var ret = originalProcessEmit.apply(this, arguments) + /* istanbul ignore next */ + emit('exit', process.exitCode, null) + /* istanbul ignore next */ + emit('afterexit', process.exitCode, null) + /* istanbul ignore next */ + return ret + } else { + return originalProcessEmit.apply(this, arguments) + } } } diff --git a/node_modules/signal-exit/package.json b/node_modules/signal-exit/package.json index 59b0ac126d..e1a00311f9 100644 --- a/node_modules/signal-exit/package.json +++ b/node_modules/signal-exit/package.json @@ -1,13 +1,14 @@ { "name": "signal-exit", - "version": "3.0.3", + "version": "3.0.7", "description": "when you want to fire an event no matter how a process exits.", "main": "index.js", "scripts": { - "pretest": "standard", - "test": "tap --timeout=240 ./test/*.js --cov", - "coverage": "nyc report --reporter=text-lcov | coveralls", - "release": "standard-version" + "test": "tap", + "snap": "tap", + "preversion": "npm test", + "postversion": "npm publish", + "prepublishOnly": "git push origin --follow-tags" }, "files": [ "index.js", @@ -29,10 +30,9 @@ "homepage": "https://github.com/tapjs/signal-exit", "devDependencies": { "chai": "^3.5.0", - "coveralls": "^2.11.10", - "nyc": "^8.1.0", - "standard": "^8.1.0", - "standard-version": "^2.3.0", - "tap": "^8.0.1" + "coveralls": "^3.1.1", + "nyc": "^15.1.0", + "standard-version": "^9.3.1", + "tap": "^15.1.1" } } diff --git a/node_modules/supertap/dist/index.d.ts b/node_modules/supertap/dist/index.d.ts new file mode 100644 index 0000000000..bce165555f --- /dev/null +++ b/node_modules/supertap/dist/index.d.ts @@ -0,0 +1,19 @@ +export declare const start: () => string; +interface Options { + index: number; + passed?: boolean; + error?: Error | Record; + todo?: boolean; + skip?: boolean; + comment: string | string[]; +} +export declare const test: (title: string, options: Options) => string; +interface Stats { + passed?: number; + failed?: number; + skipped?: number; + todo?: number; + crashed?: number; +} +export declare const finish: (stats: Stats) => string; +export {}; diff --git a/node_modules/supertap/dist/index.js b/node_modules/supertap/dist/index.js new file mode 100644 index 0000000000..ab236cc517 --- /dev/null +++ b/node_modules/supertap/dist/index.js @@ -0,0 +1,67 @@ +import { serializeError } from 'serialize-error'; +import indentString from 'indent-string'; +import stripAnsi from 'strip-ansi'; +import yaml from 'js-yaml'; +const serializeErrorForTap = (error) => { + var _a; + const object = serializeError(error); + object['at'] = ((_a = object.stack) !== null && _a !== void 0 ? _a : '') + .split('\n') + .slice(1, 2) + .map((line) => line.replace(/at/, '').trim()) + .shift(); + delete object.stack; + return object; +}; +export const start = () => 'TAP version 13'; +export const test = (title, options) => { + const { error } = options; + let { passed } = options; + let directive = ''; + if (!error) { + if (options.todo) { + directive = '# TODO'; + passed = false; + } + else if (options.skip) { + directive = '# SKIP'; + passed = true; + } + } + let comment = ''; + if (options.comment) { + const comments = Array.isArray(options.comment) + ? options.comment + : [options.comment]; + comment = comments + .map(line => indentString(line, 4).replace(/^ {4}/gm, '# ')) + .join('\n'); + } + const output = [ + `${passed ? 'ok' : 'not ok'} ${options.index} - ${stripAnsi(title)} ${directive}`.trim(), + comment, + ]; + if (error) { + const object = error instanceof Error ? serializeErrorForTap(error) : error; + output.push([' ---', indentString(yaml.safeDump(object).trim(), 4), ' ...'].join('\n')); + } + return output.filter(Boolean).join('\n'); +}; +export const finish = (stats) => { + var _a, _b, _c, _d, _e; + stats = stats !== null && stats !== void 0 ? stats : {}; + const passed = (_a = stats.passed) !== null && _a !== void 0 ? _a : 0; + const failed = (_b = stats.failed) !== null && _b !== void 0 ? _b : 0; + const skipped = (_c = stats.skipped) !== null && _c !== void 0 ? _c : 0; + const todo = (_d = stats.todo) !== null && _d !== void 0 ? _d : 0; + const crashed = (_e = stats.crashed) !== null && _e !== void 0 ? _e : 0; + return [ + `\n1..${passed + failed + skipped + todo}`, + `# tests ${passed + failed + skipped}`, + `# pass ${passed}`, + skipped > 0 ? `# skip ${skipped}` : null, + `# fail ${failed + crashed + todo}\n`, + ] + .filter(Boolean) + .join('\n'); +}; diff --git a/node_modules/supertap/index.js b/node_modules/supertap/index.js deleted file mode 100644 index d72da2a54f..0000000000 --- a/node_modules/supertap/index.js +++ /dev/null @@ -1,75 +0,0 @@ -'use strict'; - -const {serializeError} = require('serialize-error'); -const indentString = require('indent-string'); -const stripAnsi = require('strip-ansi'); -const arrify = require('arrify'); -const yaml = require('js-yaml'); - -const serializeErrorForTap = err => { - const object = serializeError(err); - object.at = object.stack - .split('\n') - .slice(1, 2) - .map(line => line.replace(/at/, '').trim()) - .shift(); - delete object.stack; - return object; -}; - -exports.start = () => 'TAP version 13'; - -exports.test = (title, options) => { - const {error} = options; - let {passed} = options; - let directive = ''; - - if (!error) { - if (options.todo) { - directive = '# TODO'; - passed = false; - } else if (options.skip) { - directive = '# SKIP'; - passed = true; - } - } - - const comment = arrify(options.comment) - .map(line => indentString(line, 4).replace(/^ {4}/gm, '# ')) - .join('\n'); - - const output = [ - `${passed ? 'ok' : 'not ok'} ${options.index} - ${stripAnsi(title)} ${directive}`.trim(), - comment - ]; - - if (error) { - const object = error instanceof Error ? serializeErrorForTap(error) : error; - - output.push([ - ' ---', - indentString(yaml.safeDump(object).trim(), 4), - ' ...' - ].join('\n')); - } - - return output.filter(Boolean).join('\n'); -}; - -exports.finish = stats => { - stats = stats || {}; - - const passed = stats.passed || 0; - const failed = stats.failed || 0; - const skipped = stats.skipped || 0; - const todo = stats.todo || 0; - const crashed = stats.crashed || 0; - - return [ - `\n1..${passed + failed + skipped + todo}`, - `# tests ${passed + failed + skipped}`, - `# pass ${passed}`, - skipped > 0 ? `# skip ${skipped}` : null, - `# fail ${failed + crashed + todo}\n` - ].filter(Boolean).join('\n'); -}; diff --git a/node_modules/supertap/node_modules/ansi-regex/index.d.ts b/node_modules/supertap/node_modules/ansi-regex/index.d.ts new file mode 100644 index 0000000000..50ef64dc35 --- /dev/null +++ b/node_modules/supertap/node_modules/ansi-regex/index.d.ts @@ -0,0 +1,33 @@ +export interface Options { + /** + Match only the first ANSI escape. + + @default false + */ + readonly onlyFirst: boolean; +} + +/** +Regular expression for matching ANSI escape codes. + +@example +``` +import ansiRegex from 'ansi-regex'; + +ansiRegex().test('\u001B[4mcake\u001B[0m'); +//=> true + +ansiRegex().test('cake'); +//=> false + +'\u001B[4mcake\u001B[0m'.match(ansiRegex()); +//=> ['\u001B[4m', '\u001B[0m'] + +'\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true})); +//=> ['\u001B[4m'] + +'\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex()); +//=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007'] +``` +*/ +export default function ansiRegex(options?: Options): RegExp; diff --git a/node_modules/supertap/node_modules/ansi-regex/index.js b/node_modules/supertap/node_modules/ansi-regex/index.js new file mode 100644 index 0000000000..130a0929b8 --- /dev/null +++ b/node_modules/supertap/node_modules/ansi-regex/index.js @@ -0,0 +1,8 @@ +export default function ansiRegex({onlyFirst = false} = {}) { + const pattern = [ + '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)', + '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))' + ].join('|'); + + return new RegExp(pattern, onlyFirst ? undefined : 'g'); +} diff --git a/node_modules/ava/node_modules/array-union/license b/node_modules/supertap/node_modules/ansi-regex/license similarity index 100% rename from node_modules/ava/node_modules/array-union/license rename to node_modules/supertap/node_modules/ansi-regex/license diff --git a/node_modules/supertap/node_modules/ansi-regex/package.json b/node_modules/supertap/node_modules/ansi-regex/package.json new file mode 100644 index 0000000000..f6a177d568 --- /dev/null +++ b/node_modules/supertap/node_modules/ansi-regex/package.json @@ -0,0 +1,58 @@ +{ + "name": "ansi-regex", + "version": "6.0.1", + "description": "Regular expression for matching ANSI escape codes", + "license": "MIT", + "repository": "chalk/ansi-regex", + "funding": "https://github.com/chalk/ansi-regex?sponsor=1", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "type": "module", + "exports": "./index.js", + "engines": { + "node": ">=12" + }, + "scripts": { + "test": "xo && ava && tsd", + "view-supported": "node fixtures/view-codes.js" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "text", + "regex", + "regexp", + "re", + "match", + "test", + "find", + "pattern" + ], + "devDependencies": { + "ava": "^3.15.0", + "tsd": "^0.14.0", + "xo": "^0.38.2" + } +} diff --git a/node_modules/supertap/node_modules/ansi-regex/readme.md b/node_modules/supertap/node_modules/ansi-regex/readme.md new file mode 100644 index 0000000000..0e17e23808 --- /dev/null +++ b/node_modules/supertap/node_modules/ansi-regex/readme.md @@ -0,0 +1,72 @@ +# ansi-regex + +> Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) + +## Install + +``` +$ npm install ansi-regex +``` + +## Usage + +```js +import ansiRegex from 'ansi-regex'; + +ansiRegex().test('\u001B[4mcake\u001B[0m'); +//=> true + +ansiRegex().test('cake'); +//=> false + +'\u001B[4mcake\u001B[0m'.match(ansiRegex()); +//=> ['\u001B[4m', '\u001B[0m'] + +'\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true})); +//=> ['\u001B[4m'] + +'\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex()); +//=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007'] +``` + +## API + +### ansiRegex(options?) + +Returns a regex for matching ANSI escape codes. + +#### options + +Type: `object` + +##### onlyFirst + +Type: `boolean`\ +Default: `false` *(Matches any ANSI escape codes in a string)* + +Match only the first ANSI escape. + +## FAQ + +### Why do you test for codes not in the ECMA 48 standard? + +Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. We test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them. + +On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out. + +## Maintainers + +- [Sindre Sorhus](https://github.com/sindresorhus) +- [Josh Junon](https://github.com/qix-) + +--- + +
+ + Get professional support for this package with a Tidelift subscription + +
+ + Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. +
+
diff --git a/node_modules/supertap/node_modules/indent-string/index.d.ts b/node_modules/supertap/node_modules/indent-string/index.d.ts new file mode 100644 index 0000000000..72b7d776e0 --- /dev/null +++ b/node_modules/supertap/node_modules/indent-string/index.d.ts @@ -0,0 +1,38 @@ +export interface Options { + /** + The string to use for the indent. + + @default ' ' + */ + readonly indent?: string; + + /** + Also indent empty lines. + + @default false + */ + readonly includeEmptyLines?: boolean; +} + +/** +Indent each line in a string. + +@param string - The string to indent. +@param count - How many times you want `options.indent` repeated. Default: `1`. + +@example +``` +import indentString from 'indent-string'; + +indentString('Unicorns\nRainbows', 4); +//=> ' Unicorns\n Rainbows' + +indentString('Unicorns\nRainbows', 4, {indent: '♥'}); +//=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows' +``` +*/ +export default function indentString( + string: string, + count?: number, + options?: Options +): string; diff --git a/node_modules/supertap/node_modules/indent-string/index.js b/node_modules/supertap/node_modules/indent-string/index.js new file mode 100644 index 0000000000..4861a4ce8a --- /dev/null +++ b/node_modules/supertap/node_modules/indent-string/index.js @@ -0,0 +1,38 @@ +export default function indentString(string, count = 1, options = {}) { + const { + indent = ' ', + includeEmptyLines = false + } = options; + + if (typeof string !== 'string') { + throw new TypeError( + `Expected \`input\` to be a \`string\`, got \`${typeof string}\`` + ); + } + + if (typeof count !== 'number') { + throw new TypeError( + `Expected \`count\` to be a \`number\`, got \`${typeof count}\`` + ); + } + + if (count < 0) { + throw new RangeError( + `Expected \`count\` to be at least 0, got \`${count}\`` + ); + } + + if (typeof indent !== 'string') { + throw new TypeError( + `Expected \`options.indent\` to be a \`string\`, got \`${typeof indent}\`` + ); + } + + if (count === 0) { + return string; + } + + const regex = includeEmptyLines ? /^/gm : /^(?!\s*$)/gm; + + return string.replace(regex, indent.repeat(count)); +} diff --git a/node_modules/arrify/license b/node_modules/supertap/node_modules/indent-string/license similarity index 92% rename from node_modules/arrify/license rename to node_modules/supertap/node_modules/indent-string/license index e7af2f7710..fa7ceba3eb 100644 --- a/node_modules/arrify/license +++ b/node_modules/supertap/node_modules/indent-string/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) Sindre Sorhus (sindresorhus.com) +Copyright (c) Sindre Sorhus (https://sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/node_modules/ava/node_modules/array-union/package.json b/node_modules/supertap/node_modules/indent-string/package.json similarity index 57% rename from node_modules/ava/node_modules/array-union/package.json rename to node_modules/supertap/node_modules/indent-string/package.json index 76bce56eba..0b00c07c1b 100644 --- a/node_modules/ava/node_modules/array-union/package.json +++ b/node_modules/supertap/node_modules/indent-string/package.json @@ -1,9 +1,9 @@ { - "name": "array-union", - "version": "3.0.1", - "description": "Create an array of unique values, in order, from the input arrays", + "name": "indent-string", + "version": "5.0.0", + "description": "Indent each line in a string", "license": "MIT", - "repository": "sindresorhus/array-union", + "repository": "sindresorhus/indent-string", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", @@ -23,24 +23,18 @@ "index.d.ts" ], "keywords": [ - "array", - "set", - "uniq", - "unique", - "duplicate", - "remove", - "union", - "combine", - "merge" + "indent", + "string", + "pad", + "align", + "line", + "text", + "each", + "every" ], "devDependencies": { "ava": "^3.15.0", "tsd": "^0.14.0", "xo": "^0.38.2" - }, - "tsd": { - "compilerOptions": { - "esModuleInterop": true - } } } diff --git a/node_modules/supertap/node_modules/indent-string/readme.md b/node_modules/supertap/node_modules/indent-string/readme.md new file mode 100644 index 0000000000..c1ebd462fe --- /dev/null +++ b/node_modules/supertap/node_modules/indent-string/readme.md @@ -0,0 +1,73 @@ +# indent-string + +> Indent each line in a string + +## Install + +``` +$ npm install indent-string +``` + +## Usage + +```js +import indentString from 'indent-string'; + +indentString('Unicorns\nRainbows', 4); +//=> ' Unicorns\n Rainbows' + +indentString('Unicorns\nRainbows', 4, {indent: '♥'}); +//=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows' +``` + +## API + +### indentString(string, count?, options?) + +#### string + +Type: `string` + +The string to indent. + +#### count + +Type: `number`\ +Default: `1` + +How many times you want `options.indent` repeated. + +#### options + +Type: `object` + +##### indent + +Type: `string`\ +Default: `' '` + +The string to use for the indent. + +##### includeEmptyLines + +Type: `boolean`\ +Default: `false` + +Also indent empty lines. + +## Related + +- [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - CLI for this module +- [strip-indent](https://github.com/sindresorhus/strip-indent) - Strip leading whitespace from every line in a string + +--- + +
+ + Get professional support for this package with a Tidelift subscription + +
+ + Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. +
+
diff --git a/node_modules/supertap/node_modules/strip-ansi/index.d.ts b/node_modules/supertap/node_modules/strip-ansi/index.d.ts new file mode 100644 index 0000000000..44e954d0c7 --- /dev/null +++ b/node_modules/supertap/node_modules/strip-ansi/index.d.ts @@ -0,0 +1,15 @@ +/** +Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string. + +@example +``` +import stripAnsi from 'strip-ansi'; + +stripAnsi('\u001B[4mUnicorn\u001B[0m'); +//=> 'Unicorn' + +stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007'); +//=> 'Click' +``` +*/ +export default function stripAnsi(string: string): string; diff --git a/node_modules/supertap/node_modules/strip-ansi/index.js b/node_modules/supertap/node_modules/strip-ansi/index.js new file mode 100644 index 0000000000..ef3c095f5f --- /dev/null +++ b/node_modules/supertap/node_modules/strip-ansi/index.js @@ -0,0 +1,9 @@ +import ansiRegex from 'ansi-regex'; + +export default function stripAnsi(string) { + if (typeof string !== 'string') { + throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``); + } + + return string.replace(ansiRegex(), ''); +} diff --git a/node_modules/supertap/node_modules/strip-ansi/license b/node_modules/supertap/node_modules/strip-ansi/license new file mode 100644 index 0000000000..fa7ceba3eb --- /dev/null +++ b/node_modules/supertap/node_modules/strip-ansi/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/supertap/node_modules/strip-ansi/package.json b/node_modules/supertap/node_modules/strip-ansi/package.json new file mode 100644 index 0000000000..dfa2553ae8 --- /dev/null +++ b/node_modules/supertap/node_modules/strip-ansi/package.json @@ -0,0 +1,57 @@ +{ + "name": "strip-ansi", + "version": "7.0.1", + "description": "Strip ANSI escape codes from a string", + "license": "MIT", + "repository": "chalk/strip-ansi", + "funding": "https://github.com/chalk/strip-ansi?sponsor=1", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "type": "module", + "exports": "./index.js", + "engines": { + "node": ">=12" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "keywords": [ + "strip", + "trim", + "remove", + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "devDependencies": { + "ava": "^3.15.0", + "tsd": "^0.17.0", + "xo": "^0.44.0" + } +} diff --git a/node_modules/supertap/node_modules/strip-ansi/readme.md b/node_modules/supertap/node_modules/strip-ansi/readme.md new file mode 100644 index 0000000000..562785107b --- /dev/null +++ b/node_modules/supertap/node_modules/strip-ansi/readme.md @@ -0,0 +1,41 @@ +# strip-ansi + +> Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string + +## Install + +``` +$ npm install strip-ansi +``` + +## Usage + +```js +import stripAnsi from 'strip-ansi'; + +stripAnsi('\u001B[4mUnicorn\u001B[0m'); +//=> 'Unicorn' + +stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007'); +//=> 'Click' +``` + +## strip-ansi for enterprise + +Available as part of the Tidelift Subscription. + +The maintainers of strip-ansi and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-strip-ansi?utm_source=npm-strip-ansi&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) + +## Related + +- [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module +- [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Streaming version of this module +- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes +- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes +- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right + +## Maintainers + +- [Sindre Sorhus](https://github.com/sindresorhus) +- [Josh Junon](https://github.com/qix-) + diff --git a/node_modules/supertap/package.json b/node_modules/supertap/package.json index a99c5dc384..513af779fa 100644 --- a/node_modules/supertap/package.json +++ b/node_modules/supertap/package.json @@ -1,6 +1,6 @@ { "name": "supertap", - "version": "2.0.0", + "version": "3.0.1", "description": "Generate TAP output", "license": "MIT", "repository": "vadimdemedes/supertap", @@ -10,13 +10,20 @@ "url": "github.com/vadimdemedes" }, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { + "build": "tsc", + "dev": "tsc --watch", + "prepare": "npm run build", + "pretest": "npm run build", "test": "xo && ava" }, + "type": "module", + "exports": "./dist/index.js", + "types": "./dist/index.d.ts", "files": [ - "index.js" + "dist" ], "keywords": [ "tap", @@ -24,18 +31,21 @@ "output" ], "dependencies": { - "arrify": "^2.0.1", - "indent-string": "^4.0.0", - "js-yaml": "^3.14.0", + "indent-string": "^5.0.0", + "js-yaml": "^3.14.1", "serialize-error": "^7.0.1", - "strip-ansi": "^6.0.0" + "strip-ansi": "^7.0.1" }, "devDependencies": { - "ava": "^3.14.0", + "@sindresorhus/tsconfig": "^2.0.0", + "@types/js-yaml": "^3.12.7", + "@vdemedes/prettier-config": "^2.0.0", + "ava": "^4.0.1", "ctrlc-exit": "^1.0.0", - "execa": "^5.0.0", + "execa": "^6.0.0", "faucet": "^0.0.1", - "p-each-series": "^2.2.0", + "p-each-series": "^3.0.0", + "prettier": "^2.5.1", "tap-dot": "^2.0.0", "tap-json": "^1.0.0", "tap-min": "^2.0.0", @@ -44,10 +54,15 @@ "tap-pessimist": "^1.0.1", "tap-spec": "^5.0.0", "tap-summary": "^4.0.0", + "typescript": "^4.5.5", "wait-for-enter": "^1.0.0", - "xo": "^0.36.1" + "xo": "^0.47.0" }, "ava": { "serial": true - } + }, + "xo": { + "prettier": true + }, + "prettier": "@vdemedes/prettier-config" } diff --git a/node_modules/supertap/readme.md b/node_modules/supertap/readme.md index eedfeece6e..2a2a80ae45 100644 --- a/node_modules/supertap/readme.md +++ b/node_modules/supertap/readme.md @@ -21,7 +21,7 @@ $ npm install supertap ## Usage ```js -const supertap = require('supertap'); +import * as supertap from 'supertap'; console.log(supertap.start()); @@ -121,8 +121,3 @@ Type: `number`
Default: `0` Number of tests that passed, failed, skipped or marked as todo. `crashed` is a special option, which adds to failed test count in the output, but not total test count. AVA uses it to count unhandled exceptions. - - -## License - -MIT © [Vadim Demedes](https://github.com/vadimdemedes) diff --git a/node_modules/typedarray-to-buffer/.airtap.yml b/node_modules/typedarray-to-buffer/.airtap.yml deleted file mode 100644 index 3417780255..0000000000 --- a/node_modules/typedarray-to-buffer/.airtap.yml +++ /dev/null @@ -1,15 +0,0 @@ -sauce_connect: true -loopback: airtap.local -browsers: - - name: chrome - version: latest - - name: firefox - version: latest - - name: safari - version: latest - - name: microsoftedge - version: latest - - name: ie - version: latest - - name: iphone - version: latest diff --git a/node_modules/typedarray-to-buffer/.travis.yml b/node_modules/typedarray-to-buffer/.travis.yml deleted file mode 100644 index f25afbd2f1..0000000000 --- a/node_modules/typedarray-to-buffer/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: node_js -node_js: - - lts/* -addons: - sauce_connect: true - hosts: - - airtap.local -env: - global: - - secure: i51rE9rZGHbcZWlL58j3H1qtL23OIV2r0X4TcQKNI3pw2mubdHFJmfPNNO19ItfReu8wwQMxOehKamwaNvqMiKWyHfn/QcThFQysqzgGZ6AgnUbYx9od6XFNDeWd1sVBf7QBAL07y7KWlYGWCwFwWjabSVySzQhEBdisPcskfkI= - - secure: BKq6/5z9LK3KDkTjs7BGeBZ1KsWgz+MsAXZ4P64NSeVGFaBdXU45+ww1mwxXFt5l22/mhyOQZfebQl+kGVqRSZ+DEgQeCymkNZ6CD8c6w6cLuOJXiXwuu/cDM2DD0tfGeu2YZC7yEikP7BqEFwH3D324rRzSGLF2RSAAwkOI7bE= diff --git a/node_modules/typedarray-to-buffer/LICENSE b/node_modules/typedarray-to-buffer/LICENSE deleted file mode 100644 index 0c068ceecb..0000000000 --- a/node_modules/typedarray-to-buffer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Feross Aboukhadijeh - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/typedarray-to-buffer/README.md b/node_modules/typedarray-to-buffer/README.md deleted file mode 100644 index 35761fb5f8..0000000000 --- a/node_modules/typedarray-to-buffer/README.md +++ /dev/null @@ -1,85 +0,0 @@ -# typedarray-to-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] - -[travis-image]: https://img.shields.io/travis/feross/typedarray-to-buffer/master.svg -[travis-url]: https://travis-ci.org/feross/typedarray-to-buffer -[npm-image]: https://img.shields.io/npm/v/typedarray-to-buffer.svg -[npm-url]: https://npmjs.org/package/typedarray-to-buffer -[downloads-image]: https://img.shields.io/npm/dm/typedarray-to-buffer.svg -[downloads-url]: https://npmjs.org/package/typedarray-to-buffer -[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg -[standard-url]: https://standardjs.com - -#### Convert a typed array to a [Buffer](https://github.com/feross/buffer) without a copy. - -[![saucelabs][saucelabs-image]][saucelabs-url] - -[saucelabs-image]: https://saucelabs.com/browser-matrix/typedarray-to-buffer.svg -[saucelabs-url]: https://saucelabs.com/u/typedarray-to-buffer - -Say you're using the ['buffer'](https://github.com/feross/buffer) module on npm, or -[browserify](http://browserify.org/) and you're working with lots of binary data. - -Unfortunately, sometimes the browser or someone else's API gives you a typed array like -`Uint8Array` to work with and you need to convert it to a `Buffer`. What do you do? - -Of course: `Buffer.from(uint8array)` - -But, alas, every time you do `Buffer.from(uint8array)` **the entire array gets copied**. -The `Buffer` constructor does a copy; this is -defined by the [node docs](http://nodejs.org/api/buffer.html) and the 'buffer' module -matches the node API exactly. - -So, how can we avoid this expensive copy in -[performance critical applications](https://github.com/feross/buffer/issues/22)? - -***Simply use this module, of course!*** - -If you have an `ArrayBuffer`, you don't need this module, because -`Buffer.from(arrayBuffer)` -[is already efficient](https://nodejs.org/api/buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length). - -## install - -```bash -npm install typedarray-to-buffer -``` - -## usage - -To convert a typed array to a `Buffer` **without a copy**, do this: - -```js -var toBuffer = require('typedarray-to-buffer') - -var arr = new Uint8Array([1, 2, 3]) -arr = toBuffer(arr) - -// arr is a buffer now! - -arr.toString() // '\u0001\u0002\u0003' -arr.readUInt16BE(0) // 258 -``` - -## how it works - -If the browser supports typed arrays, then `toBuffer` will **augment the typed array** you -pass in with the `Buffer` methods and return it. See [how does Buffer -work?](https://github.com/feross/buffer#how-does-it-work) for more about how augmentation -works. - -This module uses the typed array's underlying `ArrayBuffer` to back the new `Buffer`. This -respects the "view" on the `ArrayBuffer`, i.e. `byteOffset` and `byteLength`. In other -words, if you do `toBuffer(new Uint32Array([1, 2, 3]))`, then the new `Buffer` will -contain `[1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0]`, **not** `[1, 2, 3]`. And it still doesn't -require a copy. - -If the browser doesn't support typed arrays, then `toBuffer` will create a new `Buffer` -object, copy the data into it, and return it. There's no simple performance optimization -we can do for old browsers. Oh well. - -If this module is used in node, then it will just call `Buffer.from`. This is just for -the convenience of modules that work in both node and the browser. - -## license - -MIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org). diff --git a/node_modules/typedarray-to-buffer/index.js b/node_modules/typedarray-to-buffer/index.js deleted file mode 100644 index 5fa394dd20..0000000000 --- a/node_modules/typedarray-to-buffer/index.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Convert a typed array to a Buffer without a copy - * - * Author: Feross Aboukhadijeh - * License: MIT - * - * `npm install typedarray-to-buffer` - */ - -var isTypedArray = require('is-typedarray').strict - -module.exports = function typedarrayToBuffer (arr) { - if (isTypedArray(arr)) { - // To avoid a copy, use the typed array's underlying ArrayBuffer to back new Buffer - var buf = Buffer.from(arr.buffer) - if (arr.byteLength !== arr.buffer.byteLength) { - // Respect the "view", i.e. byteOffset and byteLength, without doing a copy - buf = buf.slice(arr.byteOffset, arr.byteOffset + arr.byteLength) - } - return buf - } else { - // Pass through all other types to `Buffer.from` - return Buffer.from(arr) - } -} diff --git a/node_modules/typedarray-to-buffer/package.json b/node_modules/typedarray-to-buffer/package.json deleted file mode 100644 index 5ec5656157..0000000000 --- a/node_modules/typedarray-to-buffer/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "typedarray-to-buffer", - "description": "Convert a typed array to a Buffer without a copy", - "version": "3.1.5", - "author": { - "name": "Feross Aboukhadijeh", - "email": "feross@feross.org", - "url": "http://feross.org/" - }, - "bugs": { - "url": "https://github.com/feross/typedarray-to-buffer/issues" - }, - "dependencies": { - "is-typedarray": "^1.0.0" - }, - "devDependencies": { - "airtap": "0.0.4", - "standard": "*", - "tape": "^4.0.0" - }, - "homepage": "http://feross.org", - "keywords": [ - "buffer", - "typed array", - "convert", - "no copy", - "uint8array", - "uint16array", - "uint32array", - "int16array", - "int32array", - "float32array", - "float64array", - "browser", - "arraybuffer", - "dataview" - ], - "license": "MIT", - "main": "index.js", - "repository": { - "type": "git", - "url": "git://github.com/feross/typedarray-to-buffer.git" - }, - "scripts": { - "test": "standard && npm run test-node && npm run test-browser", - "test-browser": "airtap -- test/*.js", - "test-browser-local": "airtap --local -- test/*.js", - "test-node": "tape test/*.js" - } -} diff --git a/node_modules/typedarray-to-buffer/test/basic.js b/node_modules/typedarray-to-buffer/test/basic.js deleted file mode 100644 index 352109682f..0000000000 --- a/node_modules/typedarray-to-buffer/test/basic.js +++ /dev/null @@ -1,50 +0,0 @@ -var test = require('tape') -var toBuffer = require('../') - -test('convert to buffer from Uint8Array', function (t) { - if (typeof Uint8Array !== 'undefined') { - var arr = new Uint8Array([1, 2, 3]) - arr = toBuffer(arr) - - t.deepEqual(arr, Buffer.from([1, 2, 3]), 'contents equal') - t.ok(Buffer.isBuffer(arr), 'is buffer') - t.equal(arr.readUInt8(0), 1) - t.equal(arr.readUInt8(1), 2) - t.equal(arr.readUInt8(2), 3) - } else { - t.pass('browser lacks Uint8Array support, skip test') - } - t.end() -}) - -test('convert to buffer from another arrayview type (Uint32Array)', function (t) { - if (typeof Uint32Array !== 'undefined' && Buffer.TYPED_ARRAY_SUPPORT !== false) { - var arr = new Uint32Array([1, 2, 3]) - arr = toBuffer(arr) - - t.deepEqual(arr, Buffer.from([1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0]), 'contents equal') - t.ok(Buffer.isBuffer(arr), 'is buffer') - t.equal(arr.readUInt32LE(0), 1) - t.equal(arr.readUInt32LE(4), 2) - t.equal(arr.readUInt32LE(8), 3) - t.equal(arr instanceof Uint8Array, true) - } else { - t.pass('browser lacks Uint32Array support, skip test') - } - t.end() -}) - -test('convert to buffer from ArrayBuffer', function (t) { - if (typeof Uint32Array !== 'undefined' && Buffer.TYPED_ARRAY_SUPPORT !== false) { - var arr = new Uint32Array([1, 2, 3]).subarray(1, 2) - arr = toBuffer(arr) - - t.deepEqual(arr, Buffer.from([2, 0, 0, 0]), 'contents equal') - t.ok(Buffer.isBuffer(arr), 'is buffer') - t.equal(arr.readUInt32LE(0), 2) - t.equal(arr instanceof Uint8Array, true) - } else { - t.pass('browser lacks ArrayBuffer support, skip test') - } - t.end() -}) diff --git a/node_modules/write-file-atomic/CHANGELOG.md b/node_modules/write-file-atomic/CHANGELOG.md deleted file mode 100644 index d1a6c1b862..0000000000 --- a/node_modules/write-file-atomic/CHANGELOG.md +++ /dev/null @@ -1,32 +0,0 @@ -# 3.0.0 - -* Implement options.tmpfileCreated callback. -* Drop Node.js 6, modernize code, return Promise from async function. -* Support write TypedArray's like in node fs.writeFile. -* Remove graceful-fs dependency. - -# 2.4.3 - -* Ignore errors raised by `fs.closeSync` when cleaning up after a write - error. - -# 2.4.2 - -* A pair of patches to fix some fd leaks. We would leak fds with sync use - when errors occured and with async use any time fsync was not in use. (#34) - -# 2.4.1 - -* Fix a bug where `signal-exit` instances would be leaked. This was fixed when addressing #35. - -# 2.4.0 - -## Features - -* Allow chown and mode options to be set to false to disable the defaulting behavior. (#20) -* Support passing encoding strings in options slot for compat with Node.js API. (#31) -* Add support for running inside of worker threads (#37) - -## Fixes - -* Remove unneeded call when returning success (#36) diff --git a/node_modules/write-file-atomic/LICENSE b/node_modules/write-file-atomic/LICENSE.md similarity index 100% rename from node_modules/write-file-atomic/LICENSE rename to node_modules/write-file-atomic/LICENSE.md diff --git a/node_modules/write-file-atomic/README.md b/node_modules/write-file-atomic/README.md index caea79956f..2d9ef60245 100644 --- a/node_modules/write-file-atomic/README.md +++ b/node_modules/write-file-atomic/README.md @@ -4,8 +4,14 @@ write-file-atomic This is an extension for node's `fs.writeFile` that makes its operation atomic and allows you set ownership (uid/gid of the file). -### var writeFileAtomic = require('write-file-atomic')
writeFileAtomic(filename, data, [options], [callback]) +### `writeFileAtomic(filename, data, [options], [callback])` +#### Description: + +Atomically and asynchronously writes data to a file, replacing the file if it already +exists. data can be a string or a buffer. + +#### Options: * filename **String** * data **String** | **Buffer** * options **Object** | **String** @@ -18,8 +24,12 @@ atomic and allows you set ownership (uid/gid of the file). * tmpfileCreated **Function** called when the tmpfile is created * callback **Function** -Atomically and asynchronously writes data to a file, replacing the file if it already -exists. data can be a string or a buffer. +#### Usage: + +```js +var writeFileAtomic = require('write-file-atomic') +writeFileAtomic(filename, data, [options], [callback]) +``` The file is initially named `filename + "." + murmurhex(__filename, process.pid, ++invocations)`. Note that `require('worker_threads').threadId` is used in addition to `process.pid` if running inside of a worker thread. @@ -67,6 +77,15 @@ This function also supports async/await: })(); ``` -### var writeFileAtomicSync = require('write-file-atomic').sync
writeFileAtomicSync(filename, data, [options]) +### `writeFileAtomicSync(filename, data, [options])` + +#### Description: The synchronous version of **writeFileAtomic**. + +#### Usage: +```js +var writeFileAtomicSync = require('write-file-atomic').sync +writeFileAtomicSync(filename, data, [options]) +``` + diff --git a/node_modules/write-file-atomic/index.js b/node_modules/write-file-atomic/lib/index.js similarity index 89% rename from node_modules/write-file-atomic/index.js rename to node_modules/write-file-atomic/lib/index.js index df5b72a14f..9d79d797a5 100644 --- a/node_modules/write-file-atomic/index.js +++ b/node_modules/write-file-atomic/lib/index.js @@ -8,8 +8,6 @@ const fs = require('fs') const MurmurHash3 = require('imurmurhash') const onExit = require('signal-exit') const path = require('path') -const isTypedArray = require('is-typedarray') -const typedArrayToBuffer = require('typedarray-to-buffer') const { promisify } = require('util') const activeFiles = {} @@ -41,17 +39,23 @@ function cleanupOnExit (tmpfile) { return () => { try { fs.unlinkSync(typeof tmpfile === 'function' ? tmpfile() : tmpfile) - } catch (_) {} + } catch { + // ignore errors + } } } function serializeActiveFile (absoluteName) { return new Promise(resolve => { // make a queue if it doesn't already exist - if (!activeFiles[absoluteName]) activeFiles[absoluteName] = [] + if (!activeFiles[absoluteName]) { + activeFiles[absoluteName] = [] + } activeFiles[absoluteName].push(resolve) // add this job to the queue - if (activeFiles[absoluteName].length === 1) resolve() // kick off the first one + if (activeFiles[absoluteName].length === 1) { + resolve() + } // kick off the first one }) } @@ -106,10 +110,7 @@ async function writeFileAsync (filename, data, options = {}) { if (options.tmpfileCreated) { await options.tmpfileCreated(tmpfile) } - if (isTypedArray(data)) { - data = typedArrayToBuffer(data) - } - if (Buffer.isBuffer(data)) { + if (ArrayBuffer.isView(data)) { await promisify(fs.write)(fd, data, 0, data.length, 0) } else if (data != null) { await promisify(fs.write)(fd, String(data), 0, String(options.encoding || 'utf8')) @@ -151,11 +152,13 @@ async function writeFileAsync (filename, data, options = {}) { activeFiles[absoluteName].shift() // remove the element added by serializeSameFile if (activeFiles[absoluteName].length > 0) { activeFiles[absoluteName][0]() // start next job if one is pending - } else delete activeFiles[absoluteName] + } else { + delete activeFiles[absoluteName] + } } } -function writeFile (filename, data, options, callback) { +async function writeFile (filename, data, options, callback) { if (options instanceof Function) { callback = options options = {} @@ -163,15 +166,23 @@ function writeFile (filename, data, options, callback) { const promise = writeFileAsync(filename, data, options) if (callback) { - promise.then(callback, callback) + try { + const result = await promise + return callback(result) + } catch (err) { + return callback(err) + } } return promise } function writeFileSync (filename, data, options) { - if (typeof options === 'string') options = { encoding: options } - else if (!options) options = {} + if (typeof options === 'string') { + options = { encoding: options } + } else if (!options) { + options = {} + } try { filename = fs.realpathSync(filename) } catch (ex) { @@ -206,10 +217,7 @@ function writeFileSync (filename, data, options) { if (options.tmpfileCreated) { options.tmpfileCreated(tmpfile) } - if (isTypedArray(data)) { - data = typedArrayToBuffer(data) - } - if (Buffer.isBuffer(data)) { + if (ArrayBuffer.isView(data)) { fs.writeSync(fd, data, 0, data.length, 0) } else if (data != null) { fs.writeSync(fd, String(data), 0, String(options.encoding || 'utf8')) diff --git a/node_modules/write-file-atomic/package.json b/node_modules/write-file-atomic/package.json index 98a29a0534..86e2a0fbad 100644 --- a/node_modules/write-file-atomic/package.json +++ b/node_modules/write-file-atomic/package.json @@ -1,26 +1,29 @@ { "name": "write-file-atomic", - "version": "3.0.3", + "version": "4.0.2", "description": "Write files in an atomic fashion w/configurable ownership", - "main": "index.js", + "main": "./lib/index.js", "scripts": { "test": "tap", "posttest": "npm run lint", - "lint": "standard", - "postlint": "rimraf chowncopy good nochmod nochown nofsync nofsyncopt noopen norename \"norename nounlink\" nowrite", + "lint": "eslint \"**/*.js\"", + "postlint": "template-oss-check", "preversion": "npm test", "postversion": "npm publish", - "prepublishOnly": "git push origin --follow-tags" + "prepublishOnly": "git push origin --follow-tags", + "lintfix": "npm run lint -- --fix", + "snap": "tap", + "template-oss-apply": "template-oss-apply --force" }, "repository": { "type": "git", - "url": "git://github.com/npm/write-file-atomic.git" + "url": "https://github.com/npm/write-file-atomic.git" }, "keywords": [ "writeFile", "atomic" ], - "author": "Rebecca Turner (http://re-becca.org)", + "author": "GitHub Inc.", "license": "ISC", "bugs": { "url": "https://github.com/npm/write-file-atomic/issues" @@ -28,21 +31,25 @@ "homepage": "https://github.com/npm/write-file-atomic", "dependencies": { "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" + "signal-exit": "^3.0.7" }, "devDependencies": { - "mkdirp": "^0.5.1", - "require-inject": "^1.4.4", - "rimraf": "^2.6.3", - "standard": "^14.3.1", - "tap": "^14.10.6" + "@npmcli/eslint-config": "^3.0.1", + "@npmcli/template-oss": "3.5.0", + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2", + "tap": "^16.0.1" }, "files": [ - "index.js" + "bin/", + "lib/" ], - "tap": { - "100": true + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + }, + "templateOSS": { + "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", + "windowsCI": false, + "version": "3.5.0" } } diff --git a/node_modules/yargs-parser/CHANGELOG.md b/node_modules/yargs-parser/CHANGELOG.md index f34e4dfd02..584eb86ed5 100644 --- a/node_modules/yargs-parser/CHANGELOG.md +++ b/node_modules/yargs-parser/CHANGELOG.md @@ -2,6 +2,34 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [21.1.1](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.1.0...yargs-parser-v21.1.1) (2022-08-04) + + +### Bug Fixes + +* **typescript:** ignore .cts files during publish ([#454](https://github.com/yargs/yargs-parser/issues/454)) ([d69f9c3](https://github.com/yargs/yargs-parser/commit/d69f9c3a91c3ad2f9494d0a94e29a8b76c41b81b)), closes [#452](https://github.com/yargs/yargs-parser/issues/452) + +## [21.1.0](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.0.1...yargs-parser-v21.1.0) (2022-08-03) + + +### Features + +* allow the browser build to be imported ([#443](https://github.com/yargs/yargs-parser/issues/443)) ([a89259f](https://github.com/yargs/yargs-parser/commit/a89259ff41d6f5312b3ce8a30bef343a993f395a)) + + +### Bug Fixes + +* **halt-at-non-option:** prevent known args from being parsed when "unknown-options-as-args" is enabled ([#438](https://github.com/yargs/yargs-parser/issues/438)) ([c474bc1](https://github.com/yargs/yargs-parser/commit/c474bc10c3aa0ae864b95e5722730114ef15f573)) +* node version check now uses process.versions.node ([#450](https://github.com/yargs/yargs-parser/issues/450)) ([d07bcdb](https://github.com/yargs/yargs-parser/commit/d07bcdbe43075f7201fbe8a08e491217247fe1f1)) +* parse options ending with 3+ hyphens ([#434](https://github.com/yargs/yargs-parser/issues/434)) ([4f1060b](https://github.com/yargs/yargs-parser/commit/4f1060b50759fadbac3315c5117b0c3d65b0a7d8)) + +### [21.0.1](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.0.0...yargs-parser-v21.0.1) (2022-02-27) + + +### Bug Fixes + +* return deno env object ([#432](https://github.com/yargs/yargs-parser/issues/432)) ([b00eb87](https://github.com/yargs/yargs-parser/commit/b00eb87b4860a890dd2dab0d6058241bbfd2b3ec)) + ## [21.0.0](https://www.github.com/yargs/yargs-parser/compare/yargs-parser-v20.2.9...yargs-parser-v21.0.0) (2021-11-15) diff --git a/node_modules/yargs-parser/build/index.cjs b/node_modules/yargs-parser/build/index.cjs index 19e7b5991a..cf6f50f66e 100644 --- a/node_modules/yargs-parser/build/index.cjs +++ b/node_modules/yargs-parser/build/index.cjs @@ -256,10 +256,10 @@ class YargsParser { let m; let next; let value; - if (arg !== '--' && isUnknownOptionAsArg(arg)) { + if (arg !== '--' && /^-/.test(arg) && isUnknownOptionAsArg(arg)) { pushPositional(arg); } - else if (truncatedArg.match(/---+(=|$)/)) { + else if (truncatedArg.match(/^---+(=|$)/)) { pushPositional(arg); continue; } @@ -1004,11 +1004,13 @@ function stripQuotes(val) { : val; } +var _a, _b, _c; const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION) ? Number(process.env.YARGS_MIN_NODE_VERSION) : 12; -if (process && process.version) { - const major = Number(process.version.match(/v([^.]+)/)[1]); +const nodeVersion = (_b = (_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) !== null && _b !== void 0 ? _b : (_c = process === null || process === void 0 ? void 0 : process.version) === null || _c === void 0 ? void 0 : _c.slice(1); +if (nodeVersion) { + const major = Number(nodeVersion.match(/^([^.]+)/)[1]); if (major < minNodeVersion) { throw Error(`yargs parser supports a minimum Node.js version of ${minNodeVersion}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`); } diff --git a/node_modules/yargs-parser/build/lib/index.js b/node_modules/yargs-parser/build/lib/index.js index 7c5d3fdf59..43ef485abc 100644 --- a/node_modules/yargs-parser/build/lib/index.js +++ b/node_modules/yargs-parser/build/lib/index.js @@ -6,6 +6,7 @@ * Copyright (c) 2016, Contributors * SPDX-License-Identifier: ISC */ +var _a, _b, _c; import { format } from 'util'; import { normalize, resolve } from 'path'; import { camelCase, decamelize, looksLikeNumber } from './string-utils.js'; @@ -16,8 +17,9 @@ import { readFileSync } from 'fs'; const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION) ? Number(process.env.YARGS_MIN_NODE_VERSION) : 12; -if (process && process.version) { - const major = Number(process.version.match(/v([^.]+)/)[1]); +const nodeVersion = (_b = (_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) !== null && _b !== void 0 ? _b : (_c = process === null || process === void 0 ? void 0 : process.version) === null || _c === void 0 ? void 0 : _c.slice(1); +if (nodeVersion) { + const major = Number(nodeVersion.match(/^([^.]+)/)[1]); if (major < minNodeVersion) { throw Error(`yargs parser supports a minimum Node.js version of ${minNodeVersion}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`); } diff --git a/node_modules/yargs-parser/build/lib/yargs-parser.js b/node_modules/yargs-parser/build/lib/yargs-parser.js index 90e37462b4..415d4bc8cb 100644 --- a/node_modules/yargs-parser/build/lib/yargs-parser.js +++ b/node_modules/yargs-parser/build/lib/yargs-parser.js @@ -178,11 +178,11 @@ export class YargsParser { let next; let value; // any unknown option (except for end-of-options, "--") - if (arg !== '--' && isUnknownOptionAsArg(arg)) { + if (arg !== '--' && /^-/.test(arg) && isUnknownOptionAsArg(arg)) { pushPositional(arg); // ---, ---=, ----, etc, } - else if (truncatedArg.match(/---+(=|$)/)) { + else if (truncatedArg.match(/^---+(=|$)/)) { // options without key name are invalid. pushPositional(arg); continue; diff --git a/node_modules/yargs-parser/package.json b/node_modules/yargs-parser/package.json index c4b03225e9..decd0c3fec 100644 --- a/node_modules/yargs-parser/package.json +++ b/node_modules/yargs-parser/package.json @@ -1,6 +1,6 @@ { "name": "yargs-parser", - "version": "21.0.0", + "version": "21.1.1", "description": "the mighty option parser used by yargs", "main": "build/index.cjs", "exports": { @@ -10,6 +10,9 @@ "require": "./build/index.cjs" }, "./build/index.cjs" + ], + "./browser": [ + "./browser.js" ] }, "type": "module", @@ -53,7 +56,6 @@ "@types/node": "^16.11.4", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", - "@wessberg/rollup-plugin-ts": "^1.2.28", "c8": "^7.3.0", "chai": "^4.2.0", "cross-env": "^7.0.2", @@ -61,12 +63,13 @@ "eslint-plugin-import": "^2.20.1", "eslint-plugin-node": "^11.0.0", "gts": "^3.0.0", - "mocha": "^9.0.0", - "puppeteer": "^11.0.0", + "mocha": "^10.0.0", + "puppeteer": "^16.0.0", "rimraf": "^3.0.2", "rollup": "^2.22.1", "rollup-plugin-cleanup": "^3.1.1", - "serve": "^13.0.0", + "rollup-plugin-ts": "^3.0.2", + "serve": "^14.0.0", "standardx": "^7.0.0", "start-server-and-test": "^1.11.2", "ts-transform-default-export": "^1.0.2", @@ -75,7 +78,8 @@ "files": [ "browser.js", "build", - "!*.d.ts" + "!*.d.ts", + "!*.d.cts" ], "engines": { "node": ">=12" diff --git a/node_modules/yargs/build/index.cjs b/node_modules/yargs/build/index.cjs index 43a6bc775c..55237f004f 100644 --- a/node_modules/yargs/build/index.cjs +++ b/node_modules/yargs/build/index.cjs @@ -1 +1 @@ -"use strict";var t=require("assert");class e extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace(this,e)}}let s,i=[];function n(t,o,a,h){s=h;let l={};if(Object.prototype.hasOwnProperty.call(t,"extends")){if("string"!=typeof t.extends)return l;const r=/\.json|\..*rc$/.test(t.extends);let h=null;if(r)h=function(t,e){return s.path.resolve(t,e)}(o,t.extends);else try{h=require.resolve(t.extends)}catch(e){return t}!function(t){if(i.indexOf(t)>-1)throw new e(`Circular extended configurations: '${t}'.`)}(h),i.push(h),l=r?JSON.parse(s.readFileSync(h,"utf8")):require(t.extends),delete t.extends,l=n(l,s.path.dirname(h),a,s)}return i=[],a?r(l,t):Object.assign({},l,t)}function r(t,e){const s={};function i(t){return t&&"object"==typeof t&&!Array.isArray(t)}Object.assign(s,t);for(const n of Object.keys(e))i(e[n])&&i(s[n])?s[n]=r(t[n],e[n]):s[n]=e[n];return s}function o(t){const e=t.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),s=/\.*[\][<>]/g,i=e.shift();if(!i)throw new Error(`No command found in: ${t}`);const n={cmd:i.replace(s,""),demanded:[],optional:[]};return e.forEach(((t,i)=>{let r=!1;t=t.replace(/\s/g,""),/\.+[\]>]/.test(t)&&i===e.length-1&&(r=!0),/^\[/.test(t)?n.optional.push({cmd:t.replace(s,"").split("|"),variadic:r}):n.demanded.push({cmd:t.replace(s,"").split("|"),variadic:r})})),n}const a=["first","second","third","fourth","fifth","sixth"];function h(t,s,i){try{let n=0;const[r,a,h]="object"==typeof t?[{demanded:[],optional:[]},t,s]:[o(`cmd ${t}`),s,i],f=[].slice.call(a);for(;f.length&&void 0===f[f.length-1];)f.pop();const d=h||f.length;if(du)throw new e(`Too many arguments provided. Expected max ${u} but received ${d}.`);r.demanded.forEach((t=>{const e=l(f.shift());0===t.cmd.filter((t=>t===e||"*"===t)).length&&c(e,t.cmd,n),n+=1})),r.optional.forEach((t=>{if(0===f.length)return;const e=l(f.shift());0===t.cmd.filter((t=>t===e||"*"===t)).length&&c(e,t.cmd,n),n+=1}))}catch(t){console.warn(t.stack)}}function l(t){return Array.isArray(t)?"array":null===t?"null":typeof t}function c(t,s,i){throw new e(`Invalid ${a[i]||"manyith"} argument. Expected ${s.join(" or ")} but received ${t}.`)}function f(t){return!!t&&!!t.then&&"function"==typeof t.then}function d(t,e,s,i){s.assert.notStrictEqual(t,e,i)}function u(t,e){e.assert.strictEqual(typeof t,"string")}function p(t){return Object.keys(t)}function g(t={},e=(()=>!0)){const s={};return p(t).forEach((i=>{e(i,t[i])&&(s[i]=t[i])})),s}function m(){return process.versions.electron&&!process.defaultApp?0:1}function y(){return process.argv[m()]}var b=Object.freeze({__proto__:null,hideBin:function(t){return t.slice(m()+1)},getProcessArgvBin:y});function v(t,e,s,i){if("a"===s&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?i:"a"===s?i.call(t):i?i.value:e.get(t)}function O(t,e,s,i,n){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?n.call(t,s):n?n.value=s:e.set(t,s),s}class w{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,e,s=!0,i=!1){if(h(" [boolean] [boolean] [boolean]",[t,e,s],arguments.length),Array.isArray(t)){for(let i=0;i{const i=[...s[e]||[],e];return!t.option||!i.includes(t.option)})),t.option=e,this.addMiddleware(t,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){const t=this.frozens.pop();void 0!==t&&(this.globalMiddleware=t)}reset(){this.globalMiddleware=this.globalMiddleware.filter((t=>t.global))}}function C(t,e,s,i){return s.reduce(((t,s)=>{if(s.applyBeforeValidation!==i)return t;if(s.mutates){if(s.applied)return t;s.applied=!0}if(f(t))return t.then((t=>Promise.all([t,s(t,e)]))).then((([t,e])=>Object.assign(t,e)));{const i=s(t,e);return f(i)?i.then((e=>Object.assign(t,e))):Object.assign(t,i)}}),t)}function j(t,e,s=(t=>{throw t})){try{const s="function"==typeof t?t():t;return f(s)?s.then((t=>e(t))):e(s)}catch(t){return s(t)}}const _=/(^\*)|(^\$0)/;class M{constructor(t,e,s,i){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=i,this.usage=t,this.globalMiddleware=s,this.validation=e}addDirectory(t,e,s,i){"boolean"!=typeof(i=i||{}).recurse&&(i.recurse=!1),Array.isArray(i.extensions)||(i.extensions=["js"]);const n="function"==typeof i.visit?i.visit:t=>t;i.visit=(t,e,s)=>{const i=n(t,e,s);if(i){if(this.requireCache.has(e))return i;this.requireCache.add(e),this.addHandler(i)}return i},this.shim.requireDirectory({require:e,filename:s},t,i)}addHandler(t,e,s,i,n,r){let a=[];const h=function(t){return t?t.map((t=>(t.applyBeforeValidation=!1,t))):[]}(n);if(i=i||(()=>{}),Array.isArray(t))if(function(t){return t.every((t=>"string"==typeof t))}(t))[t,...a]=t;else for(const e of t)this.addHandler(e);else{if(function(t){return"object"==typeof t&&!Array.isArray(t)}(t)){let e=Array.isArray(t.command)||"string"==typeof t.command?t.command:this.moduleName(t);return t.aliases&&(e=[].concat(e).concat(t.aliases)),void this.addHandler(e,this.extractDesc(t),t.builder,t.handler,t.middlewares,t.deprecated)}if(k(s))return void this.addHandler([t].concat(a),e,s.builder,s.handler,s.middlewares,s.deprecated)}if("string"==typeof t){const n=o(t);a=a.map((t=>o(t).cmd));let l=!1;const c=[n.cmd].concat(a).filter((t=>!_.test(t)||(l=!0,!1)));0===c.length&&l&&c.push("$0"),l&&(n.cmd=c[0],a=c.slice(1),t=t.replace(_,n.cmd)),a.forEach((t=>{this.aliasMap[t]=n.cmd})),!1!==e&&this.usage.command(t,e,l,a,r),this.handlers[n.cmd]={original:t,description:e,handler:i,builder:s||{},middlewares:h,deprecated:r,demanded:n.demanded,optional:n.optional},l&&(this.defaultCommand=this.handlers[n.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(t,e,s,i,n,r){const o=this.handlers[t]||this.handlers[this.aliasMap[t]]||this.defaultCommand,a=e.getInternalMethods().getContext(),h=a.commands.slice(),l=!t;t&&(a.commands.push(t),a.fullCommands.push(o.original));const c=this.applyBuilderUpdateUsageAndParse(l,o,e,s.aliases,h,i,n,r);return f(c)?c.then((t=>this.applyMiddlewareAndGetResult(l,o,t.innerArgv,a,n,t.aliases,e))):this.applyMiddlewareAndGetResult(l,o,c.innerArgv,a,n,c.aliases,e)}applyBuilderUpdateUsageAndParse(t,e,s,i,n,r,o,a){const h=e.builder;let l=s;if(E(h)){const c=h(s.getInternalMethods().reset(i),a);if(f(c))return c.then((i=>{var a;return l=(a=i)&&"function"==typeof a.getInternalMethods?i:s,this.parseAndUpdateUsage(t,e,l,n,r,o)}))}else(function(t){return"object"==typeof t})(h)&&(l=s.getInternalMethods().reset(i),Object.keys(e.builder).forEach((t=>{l.option(t,h[t])})));return this.parseAndUpdateUsage(t,e,l,n,r,o)}parseAndUpdateUsage(t,e,s,i,n,r){t&&s.getInternalMethods().getUsageInstance().unfreeze(),this.shouldUpdateUsage(s)&&s.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(i,e),e.description);const o=s.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,n,r);return f(o)?o.then((t=>({aliases:s.parsed.aliases,innerArgv:t}))):{aliases:s.parsed.aliases,innerArgv:o}}shouldUpdateUsage(t){return!t.getInternalMethods().getUsageInstance().getUsageDisabled()&&0===t.getInternalMethods().getUsageInstance().getUsage().length}usageFromParentCommandsCommandHandler(t,e){const s=_.test(e.original)?e.original.replace(_,"").trim():e.original,i=t.filter((t=>!_.test(t)));return i.push(s),`$0 ${i.join(" ")}`}applyMiddlewareAndGetResult(t,e,s,i,n,r,o){let a={};if(n)return s;o.getInternalMethods().getHasOutput()||(a=this.populatePositionals(e,s,i,o));const h=this.globalMiddleware.getMiddleware().slice(0).concat(e.middlewares);if(s=C(s,o,h,!0),!o.getInternalMethods().getHasOutput()){const e=o.getInternalMethods().runValidation(r,a,o.parsed.error,t);s=j(s,(t=>(e(t),t)))}if(e.handler&&!o.getInternalMethods().getHasOutput()){o.getInternalMethods().setHasOutput();const i=!!o.getOptions().configuration["populate--"];o.getInternalMethods().postProcess(s,i,!1,!1),s=j(s=C(s,o,h,!1),(t=>{const s=e.handler(t);return f(s)?s.then((()=>t)):t})),t||o.getInternalMethods().getUsageInstance().cacheHelpMessage(),f(s)&&!o.getInternalMethods().hasParseCallback()&&s.catch((t=>{try{o.getInternalMethods().getUsageInstance().fail(null,t)}catch(t){}}))}return t||(i.commands.pop(),i.fullCommands.pop()),s}populatePositionals(t,e,s,i){e._=e._.slice(s.commands.length);const n=t.demanded.slice(0),r=t.optional.slice(0),o={};for(this.validation.positionalCount(n.length,e._.length);n.length;){const t=n.shift();this.populatePositional(t,e,o)}for(;r.length;){const t=r.shift();this.populatePositional(t,e,o)}return e._=s.commands.concat(e._.map((t=>""+t))),this.postProcessPositionals(e,o,this.cmdToParseOptions(t.original),i),o}populatePositional(t,e,s){const i=t.cmd[0];t.variadic?s[i]=e._.splice(0).map(String):e._.length&&(s[i]=[String(e._.shift())])}cmdToParseOptions(t){const e={array:[],default:{},alias:{},demand:{}},s=o(t);return s.demanded.forEach((t=>{const[s,...i]=t.cmd;t.variadic&&(e.array.push(s),e.default[s]=[]),e.alias[s]=i,e.demand[s]=!0})),s.optional.forEach((t=>{const[s,...i]=t.cmd;t.variadic&&(e.array.push(s),e.default[s]=[]),e.alias[s]=i})),e}postProcessPositionals(t,e,s,i){const n=Object.assign({},i.getOptions());n.default=Object.assign(s.default,n.default);for(const t of Object.keys(s.alias))n.alias[t]=(n.alias[t]||[]).concat(s.alias[t]);n.array=n.array.concat(s.array),n.config={};const r=[];if(Object.keys(e).forEach((t=>{e[t].map((e=>{n.configuration["unknown-options-as-args"]&&(n.key[t]=!0),r.push(`--${t}`),r.push(e)}))})),!r.length)return;const o=Object.assign({},n.configuration,{"populate--":!1}),a=this.shim.Parser.detailed(r,Object.assign({},n,{configuration:o}));if(a.error)i.getInternalMethods().getUsageInstance().fail(a.error.message,a.error);else{const s=Object.keys(e);Object.keys(e).forEach((t=>{s.push(...a.aliases[t])}));const n=i.getOptions().default;Object.keys(a.argv).forEach((i=>{s.includes(i)&&(e[i]||(e[i]=a.argv[i]),!Object.prototype.hasOwnProperty.call(n,i)&&Object.prototype.hasOwnProperty.call(t,i)&&Object.prototype.hasOwnProperty.call(a.argv,i)&&(Array.isArray(t[i])||Array.isArray(a.argv[i]))?t[i]=[].concat(t[i],a.argv[i]):t[i]=a.argv[i])}))}}runDefaultBuilderOn(t){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(t)){const e=_.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");t.getInternalMethods().getUsageInstance().usage(e,this.defaultCommand.description)}const e=this.defaultCommand.builder;if(E(e))return e(t,!0);k(e)||Object.keys(e).forEach((s=>{t.option(s,e[s])}))}moduleName(t){const e=function(t){if("undefined"==typeof require)return null;for(let e,s=0,i=Object.keys(require.cache);s{const s=e;s._handle&&s.isTTY&&"function"==typeof s._handle.setBlocking&&s._handle.setBlocking(t)}))}function A(t){return"boolean"==typeof t}function S(t,s){const i=s.y18n.__,n={},r=[];n.failFn=function(t){r.push(t)};let o=null,a=!0;n.showHelpOnFail=function(t=!0,e){const[s,i]="string"==typeof t?[!0,t]:[t,e];return o=i,a=s,n};let h=!1;n.fail=function(s,i){const l=t.getInternalMethods().getLoggerInstance();if(!r.length){if(t.getExitProcess()&&x(!0),h||(h=!0,a&&(t.showHelp("error"),l.error()),(s||i)&&l.error(s||i),o&&((s||i)&&l.error(""),l.error(o))),i=i||new e(s),t.getExitProcess())return t.exit(1);if(t.getInternalMethods().hasParseCallback())return t.exit(1,i);throw i}for(let t=r.length-1;t>=0;--t){const e=r[t];if(A(e)){if(i)throw i;if(s)throw Error(s)}else e(s,i,n)}};let l=[],c=!1;n.usage=(t,e)=>null===t?(c=!0,l=[],n):(c=!1,l.push([t,e||""]),n),n.getUsage=()=>l,n.getUsageDisabled=()=>c,n.getPositionalGroupName=()=>i("Positionals:");let f=[];n.example=(t,e)=>{f.push([t,e||""])};let d=[];n.command=function(t,e,s,i,n=!1){s&&(d=d.map((t=>(t[2]=!1,t)))),d.push([t,e||"",s,i,n])},n.getCommands=()=>d;let u={};n.describe=function(t,e){Array.isArray(t)?t.forEach((t=>{n.describe(t,e)})):"object"==typeof t?Object.keys(t).forEach((e=>{n.describe(e,t[e])})):u[t]=e},n.getDescriptions=()=>u;let p=[];n.epilog=t=>{p.push(t)};let m,y=!1;function b(){return y||(m=function(){const t=80;return s.process.stdColumns?Math.min(t,s.process.stdColumns):t}(),y=!0),m}n.wrap=t=>{y=!0,m=t};const v="__yargsString__:";function O(t,e,i){let n=0;return Array.isArray(t)||(t=Object.values(t).map((t=>[t]))),t.forEach((t=>{n=Math.max(s.stringWidth(i?`${i} ${I(t[0])}`:I(t[0]))+$(t[0]),n)})),e&&(n=Math.min(n,parseInt((.5*e).toString(),10))),n}let w;function C(e){return t.getOptions().hiddenOptions.indexOf(e)<0||t.parsed.argv[t.getOptions().showHiddenOpt]}function j(t,e){let s=`[${i("default:")} `;if(void 0===t&&!e)return null;if(e)s+=e;else switch(typeof t){case"string":s+=`"${t}"`;break;case"object":s+=JSON.stringify(t);break;default:s+=t}return`${s}]`}n.deferY18nLookup=t=>v+t,n.help=function(){if(w)return w;!function(){const e=t.getDemandedOptions(),s=t.getOptions();(Object.keys(s.alias)||[]).forEach((i=>{s.alias[i].forEach((r=>{u[r]&&n.describe(i,u[r]),r in e&&t.demandOption(i,e[r]),s.boolean.includes(r)&&t.boolean(i),s.count.includes(r)&&t.count(i),s.string.includes(r)&&t.string(i),s.normalize.includes(r)&&t.normalize(i),s.array.includes(r)&&t.array(i),s.number.includes(r)&&t.number(i)}))}))}();const e=t.customScriptName?t.$0:s.path.basename(t.$0),r=t.getDemandedOptions(),o=t.getDemandedCommands(),a=t.getDeprecatedOptions(),h=t.getGroups(),g=t.getOptions();let m=[];m=m.concat(Object.keys(u)),m=m.concat(Object.keys(r)),m=m.concat(Object.keys(o)),m=m.concat(Object.keys(g.default)),m=m.filter(C),m=Object.keys(m.reduce(((t,e)=>("_"!==e&&(t[e]=!0),t)),{}));const y=b(),_=s.cliui({width:y,wrap:!!y});if(!c)if(l.length)l.forEach((t=>{_.div({text:`${t[0].replace(/\$0/g,e)}`}),t[1]&&_.div({text:`${t[1]}`,padding:[1,0,0,0]})})),_.div();else if(d.length){let t=null;t=o._?`${e} <${i("command")}>\n`:`${e} [${i("command")}]\n`,_.div(`${t}`)}if(d.length>1||1===d.length&&!d[0][2]){_.div(i("Commands:"));const s=t.getInternalMethods().getContext(),n=s.commands.length?`${s.commands.join(" ")} `:"";!0===t.getInternalMethods().getParserConfiguration()["sort-commands"]&&(d=d.sort(((t,e)=>t[0].localeCompare(e[0]))));const r=e?`${e} `:"";d.forEach((t=>{const s=`${r}${n}${t[0].replace(/^\$0 ?/,"")}`;_.span({text:s,padding:[0,2,0,2],width:O(d,y,`${e}${n}`)+4},{text:t[1]});const o=[];t[2]&&o.push(`[${i("default")}]`),t[3]&&t[3].length&&o.push(`[${i("aliases:")} ${t[3].join(", ")}]`),t[4]&&("string"==typeof t[4]?o.push(`[${i("deprecated: %s",t[4])}]`):o.push(`[${i("deprecated")}]`)),o.length?_.div({text:o.join(" "),padding:[0,0,0,2],align:"right"}):_.div()})),_.div()}const M=(Object.keys(g.alias)||[]).concat(Object.keys(t.parsed.newAliases)||[]);m=m.filter((e=>!t.parsed.newAliases[e]&&M.every((t=>-1===(g.alias[t]||[]).indexOf(e)))));const k=i("Options:");h[k]||(h[k]=[]),function(t,e,s,i){let n=[],r=null;Object.keys(s).forEach((t=>{n=n.concat(s[t])})),t.forEach((t=>{r=[t].concat(e[t]),r.some((t=>-1!==n.indexOf(t)))||s[i].push(t)}))}(m,g.alias,h,k);const E=t=>/^--/.test(I(t)),x=Object.keys(h).filter((t=>h[t].length>0)).map((t=>({groupName:t,normalizedKeys:h[t].filter(C).map((t=>{if(M.includes(t))return t;for(let e,s=0;void 0!==(e=M[s]);s++)if((g.alias[e]||[]).includes(t))return e;return t}))}))).filter((({normalizedKeys:t})=>t.length>0)).map((({groupName:t,normalizedKeys:e})=>{const s=e.reduce(((e,s)=>(e[s]=[s].concat(g.alias[s]||[]).map((e=>t===n.getPositionalGroupName()?e:(/^[0-9]$/.test(e)?g.boolean.includes(s)?"-":"--":e.length>1?"--":"-")+e)).sort(((t,e)=>E(t)===E(e)?0:E(t)?1:-1)).join(", "),e)),{});return{groupName:t,normalizedKeys:e,switches:s}}));if(x.filter((({groupName:t})=>t!==n.getPositionalGroupName())).some((({normalizedKeys:t,switches:e})=>!t.every((t=>E(e[t])))))&&x.filter((({groupName:t})=>t!==n.getPositionalGroupName())).forEach((({normalizedKeys:t,switches:e})=>{t.forEach((t=>{var s,i;E(e[t])&&(e[t]=(s=e[t],i="-x, ".length,P(s)?{text:s.text,indentation:s.indentation+i}:{text:s,indentation:i}))}))})),x.forEach((({groupName:t,normalizedKeys:e,switches:s})=>{_.div(t),e.forEach((t=>{const e=s[t];let o=u[t]||"",h=null;o.includes(v)&&(o=i(o.substring(v.length))),g.boolean.includes(t)&&(h=`[${i("boolean")}]`),g.count.includes(t)&&(h=`[${i("count")}]`),g.string.includes(t)&&(h=`[${i("string")}]`),g.normalize.includes(t)&&(h=`[${i("string")}]`),g.array.includes(t)&&(h=`[${i("array")}]`),g.number.includes(t)&&(h=`[${i("number")}]`);const l=[t in a?(c=a[t],"string"==typeof c?`[${i("deprecated: %s",c)}]`:`[${i("deprecated")}]`):null,h,t in r?`[${i("required")}]`:null,g.choices&&g.choices[t]?`[${i("choices:")} ${n.stringifiedValues(g.choices[t])}]`:null,j(g.default[t],g.defaultDescription[t])].filter(Boolean).join(" ");var c;_.span({text:I(e),padding:[0,2,0,2+$(e)],width:O(s,y)+4},o),l?_.div({text:l,padding:[0,0,0,2],align:"right"}):_.div()})),_.div()})),f.length&&(_.div(i("Examples:")),f.forEach((t=>{t[0]=t[0].replace(/\$0/g,e)})),f.forEach((t=>{""===t[1]?_.div({text:t[0],padding:[0,2,0,2]}):_.div({text:t[0],padding:[0,2,0,2],width:O(f,y)+4},{text:t[1]})})),_.div()),p.length>0){const t=p.map((t=>t.replace(/\$0/g,e))).join("\n");_.div(`${t}\n`)}return _.toString().replace(/\s*$/,"")},n.cacheHelpMessage=function(){w=this.help()},n.clearCachedHelpMessage=function(){w=void 0},n.hasCachedHelpMessage=function(){return!!w},n.showHelp=e=>{const s=t.getInternalMethods().getLoggerInstance();e||(e="error");("function"==typeof e?e:s[e])(n.help())},n.functionDescription=t=>["(",t.name?s.Parser.decamelize(t.name,"-"):i("generated-value"),")"].join(""),n.stringifiedValues=function(t,e){let s="";const i=e||", ",n=[].concat(t);return t&&n.length?(n.forEach((t=>{s.length&&(s+=i),s+=JSON.stringify(t)})),s):s};let _=null;n.version=t=>{_=t},n.showVersion=e=>{const s=t.getInternalMethods().getLoggerInstance();e||(e="error");("function"==typeof e?e:s[e])(_)},n.reset=function(t){return o=null,h=!1,l=[],c=!1,p=[],f=[],d=[],u=g(u,(e=>!t[e])),n};const M=[];return n.freeze=function(){M.push({failMessage:o,failureOutput:h,usages:l,usageDisabled:c,epilogs:p,examples:f,commands:d,descriptions:u})},n.unfreeze=function(){const t=M.pop();t&&({failMessage:o,failureOutput:h,usages:l,usageDisabled:c,epilogs:p,examples:f,commands:d,descriptions:u}=t)},n}function P(t){return"object"==typeof t}function $(t){return P(t)?t.indentation:0}function I(t){return P(t)?t.text:t}class D{constructor(t,e,s,i){var n,r,o;this.yargs=t,this.usage=e,this.command=s,this.shim=i,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.zshShell=null!==(o=(null===(n=this.shim.getEnv("SHELL"))||void 0===n?void 0:n.includes("zsh"))||(null===(r=this.shim.getEnv("ZSH_NAME"))||void 0===r?void 0:r.includes("zsh")))&&void 0!==o&&o}defaultCompletion(t,e,s,i){const n=this.command.getCommandHandlers();for(let e=0,s=t.length;e{const i=o(s[0]).cmd;if(-1===e.indexOf(i))if(this.zshShell){const e=s[1]||"";t.push(i.replace(/:/g,"\\:")+":"+e)}else t.push(i)}))}optionCompletions(t,e,s,i){if((i.match(/^-/)||""===i&&0===t.length)&&!this.previousArgHasChoices(e)){const n=this.yargs.getOptions(),r=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(n.key).forEach((o=>{const a=!!n.configuration["boolean-negation"]&&n.boolean.includes(o);r.includes(o)||this.argsContainKey(e,s,o,a)||(this.completeOptionKey(o,t,i),a&&n.default[o]&&this.completeOptionKey(`no-${o}`,t,i))}))}}choicesCompletions(t,e,s,i){if(this.previousArgHasChoices(e)){const s=this.getPreviousArgChoices(e);s&&s.length>0&&t.push(...s)}}getPreviousArgChoices(t){if(t.length<1)return;let e=t[t.length-1],s="";if(!e.startsWith("--")&&t.length>1&&(s=e,e=t[t.length-2]),!e.startsWith("--"))return;const i=e.replace(/-/g,""),n=this.yargs.getOptions();return Object.keys(n.key).some((t=>t===i))&&Array.isArray(n.choices[i])?n.choices[i].filter((t=>!s||t.startsWith(s))):void 0}previousArgHasChoices(t){const e=this.getPreviousArgChoices(t);return void 0!==e&&e.length>0}argsContainKey(t,e,s,i){if(-1!==t.indexOf(`--${s}`))return!0;if(i&&-1!==t.indexOf(`--no-${s}`))return!0;if(this.aliases)for(const t of this.aliases[s])if(void 0!==e[t])return!0;return!1}completeOptionKey(t,e,s){const i=this.usage.getDescriptions(),n=!/^--/.test(s)&&(t=>/^[^0-9]$/.test(t))(t)?"-":"--";if(this.zshShell){const s=i[t]||"";e.push(n+`${t.replace(/:/g,"\\:")}:${s.replace("__yargsString__:","")}`)}else e.push(n+t)}customCompletion(t,e,s,i){if(d(this.customCompletionFunction,null,this.shim),this.customCompletionFunction.length<3){const t=this.customCompletionFunction(s,e);return f(t)?t.then((t=>{this.shim.process.nextTick((()=>{i(null,t)}))})).catch((t=>{this.shim.process.nextTick((()=>{i(t,void 0)}))})):i(null,t)}return function(t){return t.length>3}(this.customCompletionFunction)?this.customCompletionFunction(s,e,((n=i)=>this.defaultCompletion(t,e,s,n)),(t=>{i(null,t)})):this.customCompletionFunction(s,e,(t=>{i(null,t)}))}getCompletion(t,e){const s=t.length?t[t.length-1]:"",i=this.yargs.parse(t,!0),n=this.customCompletionFunction?i=>this.customCompletion(t,i,s,e):i=>this.defaultCompletion(t,i,s,e);return f(i)?i.then(n):n(i)}generateCompletionScript(t,e){let s=this.zshShell?'#compdef {{app_name}}\n###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.zshrc\n# or {{app_path}} {{completion_command}} >> ~/.zsh_profile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local reply\n local si=$IFS\n IFS=$\'\n\' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "${words[@]}"))\n IFS=$si\n _describe \'values\' reply\n}\ncompdef _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n':'###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.bashrc\n# or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local cur_word args type_list\n\n cur_word="${COMP_WORDS[COMP_CWORD]}"\n args=("${COMP_WORDS[@]}")\n\n # ask yargs to generate completions.\n type_list=$({{app_path}} --get-yargs-completions "${args[@]}")\n\n COMPREPLY=( $(compgen -W "${type_list}" -- ${cur_word}) )\n\n # if no match was found, fall back to filename completion\n if [ ${#COMPREPLY[@]} -eq 0 ]; then\n COMPREPLY=()\n fi\n\n return 0\n}\ncomplete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n';const i=this.shim.path.basename(t);return t.match(/\.js$/)&&(t=`./${t}`),s=s.replace(/{{app_name}}/g,i),s=s.replace(/{{completion_command}}/g,e),s.replace(/{{app_path}}/g,t)}registerFunction(t){this.customCompletionFunction=t}setParsed(t){this.aliases=t.aliases}}function N(t,e){if(0===t.length)return e.length;if(0===e.length)return t.length;const s=[];let i,n;for(i=0;i<=e.length;i++)s[i]=[i];for(n=0;n<=t.length;n++)s[0][n]=n;for(i=1;i<=e.length;i++)for(n=1;n<=t.length;n++)e.charAt(i-1)===t.charAt(n-1)?s[i][n]=s[i-1][n-1]:i>1&&n>1&&e.charAt(i-2)===t.charAt(n-1)&&e.charAt(i-1)===t.charAt(n-2)?s[i][n]=s[i-2][n-2]+1:s[i][n]=Math.min(s[i-1][n-1]+1,Math.min(s[i][n-1]+1,s[i-1][n]+1));return s[e.length][t.length]}const H=["$0","--","_"];var z,q,W,U,F,L,V,T,R,G,K,B,Y,J,Z,X,Q,tt,et,st,it,nt,rt,ot,at,ht,lt,ct,ft,dt,ut,pt,gt;const mt=Symbol("copyDoubleDash"),yt=Symbol("copyDoubleDash"),bt=Symbol("deleteFromParserHintObject"),vt=Symbol("emitWarning"),Ot=Symbol("freeze"),wt=Symbol("getDollarZero"),Ct=Symbol("getParserConfiguration"),jt=Symbol("guessLocale"),_t=Symbol("guessVersion"),Mt=Symbol("parsePositionalNumbers"),kt=Symbol("pkgUp"),Et=Symbol("populateParserHintArray"),xt=Symbol("populateParserHintSingleValueDictionary"),At=Symbol("populateParserHintArrayDictionary"),St=Symbol("populateParserHintDictionary"),Pt=Symbol("sanitizeKey"),$t=Symbol("setKey"),It=Symbol("unfreeze"),Dt=Symbol("validateAsync"),Nt=Symbol("getCommandInstance"),Ht=Symbol("getContext"),zt=Symbol("getHasOutput"),qt=Symbol("getLoggerInstance"),Wt=Symbol("getParseContext"),Ut=Symbol("getUsageInstance"),Ft=Symbol("getValidationInstance"),Lt=Symbol("hasParseCallback"),Vt=Symbol("postProcess"),Tt=Symbol("rebase"),Rt=Symbol("reset"),Gt=Symbol("runYargsParserAndExecuteCommands"),Kt=Symbol("runValidation"),Bt=Symbol("setHasOutput"),Yt=Symbol("kTrackManuallySetKeys");class Jt{constructor(t=[],e,s,i){this.customScriptName=!1,this.parsed=!1,z.set(this,void 0),q.set(this,void 0),W.set(this,{commands:[],fullCommands:[]}),U.set(this,null),F.set(this,null),L.set(this,"show-hidden"),V.set(this,null),T.set(this,!0),R.set(this,{}),G.set(this,!0),K.set(this,[]),B.set(this,void 0),Y.set(this,{}),J.set(this,!1),Z.set(this,null),X.set(this,void 0),Q.set(this,""),tt.set(this,void 0),et.set(this,void 0),st.set(this,{}),it.set(this,null),nt.set(this,null),rt.set(this,{}),ot.set(this,{}),at.set(this,void 0),ht.set(this,!1),lt.set(this,void 0),ct.set(this,!1),ft.set(this,!1),dt.set(this,!1),ut.set(this,void 0),pt.set(this,null),gt.set(this,void 0),O(this,lt,i,"f"),O(this,at,t,"f"),O(this,q,e,"f"),O(this,et,s,"f"),O(this,B,new w(this),"f"),this.$0=this[wt](),this[Rt](),O(this,z,v(this,z,"f"),"f"),O(this,ut,v(this,ut,"f"),"f"),O(this,gt,v(this,gt,"f"),"f"),O(this,tt,v(this,tt,"f"),"f"),v(this,tt,"f").showHiddenOpt=v(this,L,"f"),O(this,X,this[yt](),"f")}addHelpOpt(t,e){return h("[string|boolean] [string]",[t,e],arguments.length),v(this,Z,"f")&&(this[bt](v(this,Z,"f")),O(this,Z,null,"f")),!1===t&&void 0===e||(O(this,Z,"string"==typeof t?t:"help","f"),this.boolean(v(this,Z,"f")),this.describe(v(this,Z,"f"),e||v(this,ut,"f").deferY18nLookup("Show help"))),this}help(t,e){return this.addHelpOpt(t,e)}addShowHiddenOpt(t,e){if(h("[string|boolean] [string]",[t,e],arguments.length),!1===t&&void 0===e)return this;const s="string"==typeof t?t:v(this,L,"f");return this.boolean(s),this.describe(s,e||v(this,ut,"f").deferY18nLookup("Show hidden options")),v(this,tt,"f").showHiddenOpt=s,this}showHidden(t,e){return this.addShowHiddenOpt(t,e)}alias(t,e){return h(" [string|array]",[t,e],arguments.length),this[At](this.alias.bind(this),"alias",t,e),this}array(t){return h("",[t],arguments.length),this[Et]("array",t),this[Yt](t),this}boolean(t){return h("",[t],arguments.length),this[Et]("boolean",t),this[Yt](t),this}check(t,e){return h(" [boolean]",[t,e],arguments.length),this.middleware(((e,s)=>j((()=>t(e,s.getOptions())),(s=>(s?("string"==typeof s||s instanceof Error)&&v(this,ut,"f").fail(s.toString(),s):v(this,ut,"f").fail(v(this,lt,"f").y18n.__("Argument check failed: %s",t.toString())),e)),(t=>(v(this,ut,"f").fail(t.message?t.message:t.toString(),t),e)))),!1,e),this}choices(t,e){return h(" [string|array]",[t,e],arguments.length),this[At](this.choices.bind(this),"choices",t,e),this}coerce(t,s){if(h(" [function]",[t,s],arguments.length),Array.isArray(t)){if(!s)throw new e("coerce callback must be provided");for(const e of t)this.coerce(e,s);return this}if("object"==typeof t){for(const e of Object.keys(t))this.coerce(e,t[e]);return this}if(!s)throw new e("coerce callback must be provided");return v(this,tt,"f").key[t]=!0,v(this,B,"f").addCoerceMiddleware(((i,n)=>{let r;return j((()=>(r=n.getAliases(),s(i[t]))),(e=>{if(i[t]=e,r[t])for(const s of r[t])i[s]=e;return i}),(t=>{throw new e(t.message)}))}),t),this}conflicts(t,e){return h(" [string|array]",[t,e],arguments.length),v(this,gt,"f").conflicts(t,e),this}config(t="config",e,s){return h("[object|string] [string|function] [function]",[t,e,s],arguments.length),"object"!=typeof t||Array.isArray(t)?("function"==typeof e&&(s=e,e=void 0),this.describe(t,e||v(this,ut,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach((t=>{v(this,tt,"f").config[t]=s||!0})),this):(t=n(t,v(this,q,"f"),this[Ct]()["deep-merge-config"]||!1,v(this,lt,"f")),v(this,tt,"f").configObjects=(v(this,tt,"f").configObjects||[]).concat(t),this)}completion(t,e,s){return h("[string] [string|boolean|function] [function]",[t,e,s],arguments.length),"function"==typeof e&&(s=e,e=void 0),O(this,F,t||v(this,F,"f")||"completion","f"),e||!1===e||(e="generate completion script"),this.command(v(this,F,"f"),e),s&&v(this,U,"f").registerFunction(s),this}command(t,e,s,i,n,r){return h(" [string|boolean] [function|object] [function] [array] [boolean|string]",[t,e,s,i,n,r],arguments.length),v(this,z,"f").addHandler(t,e,s,i,n,r),this}commands(t,e,s,i,n,r){return this.command(t,e,s,i,n,r)}commandDir(t,e){h(" [object]",[t,e],arguments.length);const s=v(this,et,"f")||v(this,lt,"f").require;return v(this,z,"f").addDirectory(t,s,v(this,lt,"f").getCallerFile(),e),this}count(t){return h("",[t],arguments.length),this[Et]("count",t),this[Yt](t),this}default(t,e,s){return h(" [*] [string]",[t,e,s],arguments.length),s&&(u(t,v(this,lt,"f")),v(this,tt,"f").defaultDescription[t]=s),"function"==typeof e&&(u(t,v(this,lt,"f")),v(this,tt,"f").defaultDescription[t]||(v(this,tt,"f").defaultDescription[t]=v(this,ut,"f").functionDescription(e)),e=e.call()),this[xt](this.default.bind(this),"default",t,e),this}defaults(t,e,s){return this.default(t,e,s)}demandCommand(t=1,e,s,i){return h("[number] [number|string] [string|null|undefined] [string|null|undefined]",[t,e,s,i],arguments.length),"number"!=typeof e&&(s=e,e=1/0),this.global("_",!1),v(this,tt,"f").demandedCommands._={min:t,max:e,minMsg:s,maxMsg:i},this}demand(t,e,s){return Array.isArray(e)?(e.forEach((t=>{d(s,!0,v(this,lt,"f")),this.demandOption(t,s)})),e=1/0):"number"!=typeof e&&(s=e,e=1/0),"number"==typeof t?(d(s,!0,v(this,lt,"f")),this.demandCommand(t,e,s,s)):Array.isArray(t)?t.forEach((t=>{d(s,!0,v(this,lt,"f")),this.demandOption(t,s)})):"string"==typeof s?this.demandOption(t,s):!0!==s&&void 0!==s||this.demandOption(t),this}demandOption(t,e){return h(" [string]",[t,e],arguments.length),this[xt](this.demandOption.bind(this),"demandedOptions",t,e),this}deprecateOption(t,e){return h(" [string|boolean]",[t,e],arguments.length),v(this,tt,"f").deprecatedOptions[t]=e,this}describe(t,e){return h(" [string]",[t,e],arguments.length),this[$t](t,!0),v(this,ut,"f").describe(t,e),this}detectLocale(t){return h("",[t],arguments.length),O(this,T,t,"f"),this}env(t){return h("[string|boolean]",[t],arguments.length),!1===t?delete v(this,tt,"f").envPrefix:v(this,tt,"f").envPrefix=t||"",this}epilogue(t){return h("",[t],arguments.length),v(this,ut,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,e){return h(" [string]",[t,e],arguments.length),Array.isArray(t)?t.forEach((t=>this.example(...t))):v(this,ut,"f").example(t,e),this}exit(t,e){O(this,J,!0,"f"),O(this,V,e,"f"),v(this,G,"f")&&v(this,lt,"f").process.exit(t)}exitProcess(t=!0){return h("[boolean]",[t],arguments.length),O(this,G,t,"f"),this}fail(t){if(h("",[t],arguments.length),"boolean"==typeof t&&!1!==t)throw new e("Invalid first argument. Expected function or boolean 'false'");return v(this,ut,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,e){return h(" [function]",[t,e],arguments.length),e?v(this,U,"f").getCompletion(t,e):new Promise(((e,s)=>{v(this,U,"f").getCompletion(t,((t,i)=>{t?s(t):e(i)}))}))}getDemandedOptions(){return h([],0),v(this,tt,"f").demandedOptions}getDemandedCommands(){return h([],0),v(this,tt,"f").demandedCommands}getDeprecatedOptions(){return h([],0),v(this,tt,"f").deprecatedOptions}getDetectLocale(){return v(this,T,"f")}getExitProcess(){return v(this,G,"f")}getGroups(){return Object.assign({},v(this,Y,"f"),v(this,ot,"f"))}getHelp(){if(O(this,J,!0,"f"),!v(this,ut,"f").hasCachedHelpMessage()){if(!this.parsed){const t=this[Gt](v(this,at,"f"),void 0,void 0,0,!0);if(f(t))return t.then((()=>v(this,ut,"f").help()))}const t=v(this,z,"f").runDefaultBuilderOn(this);if(f(t))return t.then((()=>v(this,ut,"f").help()))}return Promise.resolve(v(this,ut,"f").help())}getOptions(){return v(this,tt,"f")}getStrict(){return v(this,ct,"f")}getStrictCommands(){return v(this,ft,"f")}getStrictOptions(){return v(this,dt,"f")}global(t,e){return h(" [boolean]",[t,e],arguments.length),t=[].concat(t),!1!==e?v(this,tt,"f").local=v(this,tt,"f").local.filter((e=>-1===t.indexOf(e))):t.forEach((t=>{v(this,tt,"f").local.includes(t)||v(this,tt,"f").local.push(t)})),this}group(t,e){h(" ",[t,e],arguments.length);const s=v(this,ot,"f")[e]||v(this,Y,"f")[e];v(this,ot,"f")[e]&&delete v(this,ot,"f")[e];const i={};return v(this,Y,"f")[e]=(s||[]).concat(t).filter((t=>!i[t]&&(i[t]=!0))),this}hide(t){return h("",[t],arguments.length),v(this,tt,"f").hiddenOptions.push(t),this}implies(t,e){return h(" [number|string|array]",[t,e],arguments.length),v(this,gt,"f").implies(t,e),this}locale(t){return h("[string]",[t],arguments.length),t?(O(this,T,!1,"f"),v(this,lt,"f").y18n.setLocale(t),this):(this[jt](),v(this,lt,"f").y18n.getLocale())}middleware(t,e,s){return v(this,B,"f").addMiddleware(t,!!e,s)}nargs(t,e){return h(" [number]",[t,e],arguments.length),this[xt](this.nargs.bind(this),"narg",t,e),this}normalize(t){return h("",[t],arguments.length),this[Et]("normalize",t),this}number(t){return h("",[t],arguments.length),this[Et]("number",t),this[Yt](t),this}option(t,e){if(h(" [object]",[t,e],arguments.length),"object"==typeof t)Object.keys(t).forEach((e=>{this.options(e,t[e])}));else{"object"!=typeof e&&(e={}),this[Yt](t),!v(this,pt,"f")||"version"!==t&&"version"!==(null==e?void 0:e.alias)||this[vt](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join("\n"),void 0,"versionWarning"),v(this,tt,"f").key[t]=!0,e.alias&&this.alias(t,e.alias);const s=e.deprecate||e.deprecated;s&&this.deprecateOption(t,s);const i=e.demand||e.required||e.require;i&&this.demand(t,i),e.demandOption&&this.demandOption(t,"string"==typeof e.demandOption?e.demandOption:void 0),e.conflicts&&this.conflicts(t,e.conflicts),"default"in e&&this.default(t,e.default),void 0!==e.implies&&this.implies(t,e.implies),void 0!==e.nargs&&this.nargs(t,e.nargs),e.config&&this.config(t,e.configParser),e.normalize&&this.normalize(t),e.choices&&this.choices(t,e.choices),e.coerce&&this.coerce(t,e.coerce),e.group&&this.group(t,e.group),(e.boolean||"boolean"===e.type)&&(this.boolean(t),e.alias&&this.boolean(e.alias)),(e.array||"array"===e.type)&&(this.array(t),e.alias&&this.array(e.alias)),(e.number||"number"===e.type)&&(this.number(t),e.alias&&this.number(e.alias)),(e.string||"string"===e.type)&&(this.string(t),e.alias&&this.string(e.alias)),(e.count||"count"===e.type)&&this.count(t),"boolean"==typeof e.global&&this.global(t,e.global),e.defaultDescription&&(v(this,tt,"f").defaultDescription[t]=e.defaultDescription),e.skipValidation&&this.skipValidation(t);const n=e.describe||e.description||e.desc;this.describe(t,n),e.hidden&&this.hide(t),e.requiresArg&&this.requiresArg(t)}return this}options(t,e){return this.option(t,e)}parse(t,e,s){h("[string|array] [function|boolean|object] [function]",[t,e,s],arguments.length),this[Ot](),void 0===t&&(t=v(this,at,"f")),"object"==typeof e&&(O(this,nt,e,"f"),e=s),"function"==typeof e&&(O(this,it,e,"f"),e=!1),e||O(this,at,t,"f"),v(this,it,"f")&&O(this,G,!1,"f");const i=this[Gt](t,!!e),n=this.parsed;return v(this,U,"f").setParsed(this.parsed),f(i)?i.then((t=>(v(this,it,"f")&&v(this,it,"f").call(this,v(this,V,"f"),t,v(this,Q,"f")),t))).catch((t=>{throw v(this,it,"f")&&v(this,it,"f")(t,this.parsed.argv,v(this,Q,"f")),t})).finally((()=>{this[It](),this.parsed=n})):(v(this,it,"f")&&v(this,it,"f").call(this,v(this,V,"f"),i,v(this,Q,"f")),this[It](),this.parsed=n,i)}parseAsync(t,e,s){const i=this.parse(t,e,s);return f(i)?i:Promise.resolve(i)}parseSync(t,s,i){const n=this.parse(t,s,i);if(f(n))throw new e(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return n}parserConfiguration(t){return h("",[t],arguments.length),O(this,st,t,"f"),this}pkgConf(t,e){h(" [string]",[t,e],arguments.length);let s=null;const i=this[kt](e||v(this,q,"f"));return i[t]&&"object"==typeof i[t]&&(s=n(i[t],e||v(this,q,"f"),this[Ct]()["deep-merge-config"]||!1,v(this,lt,"f")),v(this,tt,"f").configObjects=(v(this,tt,"f").configObjects||[]).concat(s)),this}positional(t,e){h(" ",[t,e],arguments.length);const s=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];e=g(e,((t,e)=>!("type"===t&&!["string","number","boolean"].includes(e))&&s.includes(t)));const i=v(this,W,"f").fullCommands[v(this,W,"f").fullCommands.length-1],n=i?v(this,z,"f").cmdToParseOptions(i):{array:[],alias:{},default:{},demand:{}};return p(n).forEach((s=>{const i=n[s];Array.isArray(i)?-1!==i.indexOf(t)&&(e[s]=!0):i[t]&&!(s in e)&&(e[s]=i[t])})),this.group(t,v(this,ut,"f").getPositionalGroupName()),this.option(t,e)}recommendCommands(t=!0){return h("[boolean]",[t],arguments.length),O(this,ht,t,"f"),this}required(t,e,s){return this.demand(t,e,s)}require(t,e,s){return this.demand(t,e,s)}requiresArg(t){return h(" [number]",[t],arguments.length),"string"==typeof t&&v(this,tt,"f").narg[t]||this[xt](this.requiresArg.bind(this),"narg",t,NaN),this}showCompletionScript(t,e){return h("[string] [string]",[t,e],arguments.length),t=t||this.$0,v(this,X,"f").log(v(this,U,"f").generateCompletionScript(t,e||v(this,F,"f")||"completion")),this}showHelp(t){if(h("[string|function]",[t],arguments.length),O(this,J,!0,"f"),!v(this,ut,"f").hasCachedHelpMessage()){if(!this.parsed){const e=this[Gt](v(this,at,"f"),void 0,void 0,0,!0);if(f(e))return e.then((()=>{v(this,ut,"f").showHelp(t)})),this}const e=v(this,z,"f").runDefaultBuilderOn(this);if(f(e))return e.then((()=>{v(this,ut,"f").showHelp(t)})),this}return v(this,ut,"f").showHelp(t),this}scriptName(t){return this.customScriptName=!0,this.$0=t,this}showHelpOnFail(t,e){return h("[boolean|string] [string]",[t,e],arguments.length),v(this,ut,"f").showHelpOnFail(t,e),this}showVersion(t){return h("[string|function]",[t],arguments.length),v(this,ut,"f").showVersion(t),this}skipValidation(t){return h("",[t],arguments.length),this[Et]("skipValidation",t),this}strict(t){return h("[boolean]",[t],arguments.length),O(this,ct,!1!==t,"f"),this}strictCommands(t){return h("[boolean]",[t],arguments.length),O(this,ft,!1!==t,"f"),this}strictOptions(t){return h("[boolean]",[t],arguments.length),O(this,dt,!1!==t,"f"),this}string(t){return h("",[t],arguments.length),this[Et]("string",t),this[Yt](t),this}terminalWidth(){return h([],0),v(this,lt,"f").process.stdColumns}updateLocale(t){return this.updateStrings(t)}updateStrings(t){return h("",[t],arguments.length),O(this,T,!1,"f"),v(this,lt,"f").y18n.updateLocale(t),this}usage(t,s,i,n){if(h(" [string|boolean] [function|object] [function]",[t,s,i,n],arguments.length),void 0!==s){if(d(t,null,v(this,lt,"f")),(t||"").match(/^\$0( |$)/))return this.command(t,s,i,n);throw new e(".usage() description must start with $0 if being used as alias for .command()")}return v(this,ut,"f").usage(t),this}version(t,e,s){const i="version";if(h("[boolean|string] [string] [string]",[t,e,s],arguments.length),v(this,pt,"f")&&(this[bt](v(this,pt,"f")),v(this,ut,"f").version(void 0),O(this,pt,null,"f")),0===arguments.length)s=this[_t](),t=i;else if(1===arguments.length){if(!1===t)return this;s=t,t=i}else 2===arguments.length&&(s=e,e=void 0);return O(this,pt,"string"==typeof t?t:i,"f"),e=e||v(this,ut,"f").deferY18nLookup("Show version number"),v(this,ut,"f").version(s||void 0),this.boolean(v(this,pt,"f")),this.describe(v(this,pt,"f"),e),this}wrap(t){return h("",[t],arguments.length),v(this,ut,"f").wrap(t),this}[(z=new WeakMap,q=new WeakMap,W=new WeakMap,U=new WeakMap,F=new WeakMap,L=new WeakMap,V=new WeakMap,T=new WeakMap,R=new WeakMap,G=new WeakMap,K=new WeakMap,B=new WeakMap,Y=new WeakMap,J=new WeakMap,Z=new WeakMap,X=new WeakMap,Q=new WeakMap,tt=new WeakMap,et=new WeakMap,st=new WeakMap,it=new WeakMap,nt=new WeakMap,rt=new WeakMap,ot=new WeakMap,at=new WeakMap,ht=new WeakMap,lt=new WeakMap,ct=new WeakMap,ft=new WeakMap,dt=new WeakMap,ut=new WeakMap,pt=new WeakMap,gt=new WeakMap,mt)](t){if(!t._||!t["--"])return t;t._.push.apply(t._,t["--"]);try{delete t["--"]}catch(t){}return t}[yt](){return{log:(...t)=>{this[Lt]()||console.log(...t),O(this,J,!0,"f"),v(this,Q,"f").length&&O(this,Q,v(this,Q,"f")+"\n","f"),O(this,Q,v(this,Q,"f")+t.join(" "),"f")},error:(...t)=>{this[Lt]()||console.error(...t),O(this,J,!0,"f"),v(this,Q,"f").length&&O(this,Q,v(this,Q,"f")+"\n","f"),O(this,Q,v(this,Q,"f")+t.join(" "),"f")}}}[bt](t){p(v(this,tt,"f")).forEach((e=>{if("configObjects"===e)return;const s=v(this,tt,"f")[e];Array.isArray(s)?s.includes(t)&&s.splice(s.indexOf(t),1):"object"==typeof s&&delete s[t]})),delete v(this,ut,"f").getDescriptions()[t]}[vt](t,e,s){v(this,R,"f")[s]||(v(this,lt,"f").process.emitWarning(t,e),v(this,R,"f")[s]=!0)}[Ot](){v(this,K,"f").push({options:v(this,tt,"f"),configObjects:v(this,tt,"f").configObjects.slice(0),exitProcess:v(this,G,"f"),groups:v(this,Y,"f"),strict:v(this,ct,"f"),strictCommands:v(this,ft,"f"),strictOptions:v(this,dt,"f"),completionCommand:v(this,F,"f"),output:v(this,Q,"f"),exitError:v(this,V,"f"),hasOutput:v(this,J,"f"),parsed:this.parsed,parseFn:v(this,it,"f"),parseContext:v(this,nt,"f")}),v(this,ut,"f").freeze(),v(this,gt,"f").freeze(),v(this,z,"f").freeze(),v(this,B,"f").freeze()}[wt](){let t,e="";return t=/\b(node|iojs|electron)(\.exe)?$/.test(v(this,lt,"f").process.argv()[0])?v(this,lt,"f").process.argv().slice(1,2):v(this,lt,"f").process.argv().slice(0,1),e=t.map((t=>{const e=this[Tt](v(this,q,"f"),t);return t.match(/^(\/|([a-zA-Z]:)?\\)/)&&e.lengthe.includes("package.json")?"package.json":void 0));d(i,void 0,v(this,lt,"f")),s=JSON.parse(v(this,lt,"f").readFileSync(i,"utf8"))}catch(t){}return v(this,rt,"f")[e]=s||{},v(this,rt,"f")[e]}[Et](t,e){(e=[].concat(e)).forEach((e=>{e=this[Pt](e),v(this,tt,"f")[t].push(e)}))}[xt](t,e,s,i){this[St](t,e,s,i,((t,e,s)=>{v(this,tt,"f")[t][e]=s}))}[At](t,e,s,i){this[St](t,e,s,i,((t,e,s)=>{v(this,tt,"f")[t][e]=(v(this,tt,"f")[t][e]||[]).concat(s)}))}[St](t,e,s,i,n){if(Array.isArray(s))s.forEach((e=>{t(e,i)}));else if((t=>"object"==typeof t)(s))for(const e of p(s))t(e,s[e]);else n(e,this[Pt](s),i)}[Pt](t){return"__proto__"===t?"___proto___":t}[$t](t,e){return this[xt](this[$t].bind(this),"key",t,e),this}[It](){var t,e,s,i,n,r,o,a,h,l,c,f;const u=v(this,K,"f").pop();let p;d(u,void 0,v(this,lt,"f")),t=this,e=this,s=this,i=this,n=this,r=this,o=this,a=this,h=this,l=this,c=this,f=this,({options:{set value(e){O(t,tt,e,"f")}}.value,configObjects:p,exitProcess:{set value(t){O(e,G,t,"f")}}.value,groups:{set value(t){O(s,Y,t,"f")}}.value,output:{set value(t){O(i,Q,t,"f")}}.value,exitError:{set value(t){O(n,V,t,"f")}}.value,hasOutput:{set value(t){O(r,J,t,"f")}}.value,parsed:this.parsed,strict:{set value(t){O(o,ct,t,"f")}}.value,strictCommands:{set value(t){O(a,ft,t,"f")}}.value,strictOptions:{set value(t){O(h,dt,t,"f")}}.value,completionCommand:{set value(t){O(l,F,t,"f")}}.value,parseFn:{set value(t){O(c,it,t,"f")}}.value,parseContext:{set value(t){O(f,nt,t,"f")}}.value}=u),v(this,tt,"f").configObjects=p,v(this,ut,"f").unfreeze(),v(this,gt,"f").unfreeze(),v(this,z,"f").unfreeze(),v(this,B,"f").unfreeze()}[Dt](t,e){return j(e,(e=>(t(e),e)))}getInternalMethods(){return{getCommandInstance:this[Nt].bind(this),getContext:this[Ht].bind(this),getHasOutput:this[zt].bind(this),getLoggerInstance:this[qt].bind(this),getParseContext:this[Wt].bind(this),getParserConfiguration:this[Ct].bind(this),getUsageInstance:this[Ut].bind(this),getValidationInstance:this[Ft].bind(this),hasParseCallback:this[Lt].bind(this),postProcess:this[Vt].bind(this),reset:this[Rt].bind(this),runValidation:this[Kt].bind(this),runYargsParserAndExecuteCommands:this[Gt].bind(this),setHasOutput:this[Bt].bind(this)}}[Nt](){return v(this,z,"f")}[Ht](){return v(this,W,"f")}[zt](){return v(this,J,"f")}[qt](){return v(this,X,"f")}[Wt](){return v(this,nt,"f")||{}}[Ut](){return v(this,ut,"f")}[Ft](){return v(this,gt,"f")}[Lt](){return!!v(this,it,"f")}[Vt](t,e,s,i){if(s)return t;if(f(t))return t;e||(t=this[mt](t));return(this[Ct]()["parse-positional-numbers"]||void 0===this[Ct]()["parse-positional-numbers"])&&(t=this[Mt](t)),i&&(t=C(t,this,v(this,B,"f").getMiddleware(),!1)),t}[Rt](t={}){O(this,tt,v(this,tt,"f")||{},"f");const e={};e.local=v(this,tt,"f").local||[],e.configObjects=v(this,tt,"f").configObjects||[];const s={};e.local.forEach((e=>{s[e]=!0,(t[e]||[]).forEach((t=>{s[t]=!0}))})),Object.assign(v(this,ot,"f"),Object.keys(v(this,Y,"f")).reduce(((t,e)=>{const i=v(this,Y,"f")[e].filter((t=>!(t in s)));return i.length>0&&(t[e]=i),t}),{})),O(this,Y,{},"f");return["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"].forEach((t=>{e[t]=(v(this,tt,"f")[t]||[]).filter((t=>!s[t]))})),["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"].forEach((t=>{e[t]=g(v(this,tt,"f")[t],(t=>!s[t]))})),e.envPrefix=v(this,tt,"f").envPrefix,O(this,tt,e,"f"),O(this,ut,v(this,ut,"f")?v(this,ut,"f").reset(s):S(this,v(this,lt,"f")),"f"),O(this,gt,v(this,gt,"f")?v(this,gt,"f").reset(s):function(t,e,s){const i=s.y18n.__,n=s.y18n.__n,r={nonOptionCount:function(s){const i=t.getDemandedCommands(),r=s._.length+(s["--"]?s["--"].length:0)-t.getInternalMethods().getContext().commands.length;i._&&(ri._.max)&&(ri._.max&&(void 0!==i._.maxMsg?e.fail(i._.maxMsg?i._.maxMsg.replace(/\$0/g,r.toString()).replace(/\$1/,i._.max.toString()):null):e.fail(n("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",r,r.toString(),i._.max.toString()))))},positionalCount:function(t,s){s{H.includes(e)||Object.prototype.hasOwnProperty.call(o,e)||Object.prototype.hasOwnProperty.call(t.getInternalMethods().getParseContext(),e)||r.isValidAndSomeAliasIsNotNew(e,i)||f.push(e)})),h&&(d.commands.length>0||c.length>0||a)&&s._.slice(d.commands.length).forEach((t=>{c.includes(""+t)||f.push(""+t)})),h){const e=(null===(l=t.getDemandedCommands()._)||void 0===l?void 0:l.max)||0,i=d.commands.length+e;i{t=String(t),d.commands.includes(t)||f.includes(t)||f.push(t)}))}f.length&&e.fail(n("Unknown argument: %s","Unknown arguments: %s",f.length,f.join(", ")))},unknownCommands:function(s){const i=t.getInternalMethods().getCommandInstance().getCommands(),r=[],o=t.getInternalMethods().getContext();return(o.commands.length>0||i.length>0)&&s._.slice(o.commands.length).forEach((t=>{i.includes(""+t)||r.push(""+t)})),r.length>0&&(e.fail(n("Unknown command: %s","Unknown commands: %s",r.length,r.join(", "))),!0)},isValidAndSomeAliasIsNotNew:function(e,s){if(!Object.prototype.hasOwnProperty.call(s,e))return!1;const i=t.parsed.newAliases;return[e,...s[e]].some((t=>!Object.prototype.hasOwnProperty.call(i,t)||!i[e]))},limitedChoices:function(s){const n=t.getOptions(),r={};if(!Object.keys(n.choices).length)return;Object.keys(s).forEach((t=>{-1===H.indexOf(t)&&Object.prototype.hasOwnProperty.call(n.choices,t)&&[].concat(s[t]).forEach((e=>{-1===n.choices[t].indexOf(e)&&void 0!==e&&(r[t]=(r[t]||[]).concat(e))}))}));const o=Object.keys(r);if(!o.length)return;let a=i("Invalid values:");o.forEach((t=>{a+=`\n ${i("Argument: %s, Given: %s, Choices: %s",t,e.stringifiedValues(r[t]),e.stringifiedValues(n.choices[t]))}`})),e.fail(a)}};let o={};function a(t,e){const s=Number(e);return"number"==typeof(e=isNaN(s)?e:s)?e=t._.length>=e:e.match(/^--no-.+/)?(e=e.match(/^--no-(.+)/)[1],e=!Object.prototype.hasOwnProperty.call(t,e)):e=Object.prototype.hasOwnProperty.call(t,e),e}r.implies=function(e,i){h(" [array|number|string]",[e,i],arguments.length),"object"==typeof e?Object.keys(e).forEach((t=>{r.implies(t,e[t])})):(t.global(e),o[e]||(o[e]=[]),Array.isArray(i)?i.forEach((t=>r.implies(e,t))):(d(i,void 0,s),o[e].push(i)))},r.getImplied=function(){return o},r.implications=function(t){const s=[];if(Object.keys(o).forEach((e=>{const i=e;(o[e]||[]).forEach((e=>{let n=i;const r=e;n=a(t,n),e=a(t,e),n&&!e&&s.push(` ${i} -> ${r}`)}))})),s.length){let t=`${i("Implications failed:")}\n`;s.forEach((e=>{t+=e})),e.fail(t)}};let l={};r.conflicts=function(e,s){h(" [array|string]",[e,s],arguments.length),"object"==typeof e?Object.keys(e).forEach((t=>{r.conflicts(t,e[t])})):(t.global(e),l[e]||(l[e]=[]),Array.isArray(s)?s.forEach((t=>r.conflicts(e,t))):l[e].push(s))},r.getConflicting=()=>l,r.conflicting=function(n){Object.keys(n).forEach((t=>{l[t]&&l[t].forEach((s=>{s&&void 0!==n[t]&&void 0!==n[s]&&e.fail(i("Arguments %s and %s are mutually exclusive",t,s))}))})),t.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(l).forEach((t=>{l[t].forEach((r=>{r&&void 0!==n[s.Parser.camelCase(t)]&&void 0!==n[s.Parser.camelCase(r)]&&e.fail(i("Arguments %s and %s are mutually exclusive",t,r))}))}))},r.recommendCommands=function(t,s){s=s.sort(((t,e)=>e.length-t.length));let n=null,r=1/0;for(let e,i=0;void 0!==(e=s[i]);i++){const s=N(t,e);s<=3&&s!t[e])),l=g(l,(e=>!t[e])),r};const c=[];return r.freeze=function(){c.push({implied:o,conflicting:l})},r.unfreeze=function(){const t=c.pop();d(t,void 0,s),({implied:o,conflicting:l}=t)},r}(this,v(this,ut,"f"),v(this,lt,"f")),"f"),O(this,z,v(this,z,"f")?v(this,z,"f").reset():function(t,e,s,i){return new M(t,e,s,i)}(v(this,ut,"f"),v(this,gt,"f"),v(this,B,"f"),v(this,lt,"f")),"f"),v(this,U,"f")||O(this,U,function(t,e,s,i){return new D(t,e,s,i)}(this,v(this,ut,"f"),v(this,z,"f"),v(this,lt,"f")),"f"),v(this,B,"f").reset(),O(this,F,null,"f"),O(this,Q,"","f"),O(this,V,null,"f"),O(this,J,!1,"f"),this.parsed=!1,this}[Tt](t,e){return v(this,lt,"f").path.relative(t,e)}[Gt](t,s,i,n=0,r=!1){let o=!!i||r;t=t||v(this,at,"f"),v(this,tt,"f").__=v(this,lt,"f").y18n.__,v(this,tt,"f").configuration=this[Ct]();const a=!!v(this,tt,"f").configuration["populate--"],h=Object.assign({},v(this,tt,"f").configuration,{"populate--":!0}),l=v(this,lt,"f").Parser.detailed(t,Object.assign({},v(this,tt,"f"),{configuration:{"parse-positional-numbers":!1,...h}})),c=Object.assign(l.argv,v(this,nt,"f"));let d;const u=l.aliases;let p=!1,g=!1;Object.keys(c).forEach((t=>{t===v(this,Z,"f")&&c[t]?p=!0:t===v(this,pt,"f")&&c[t]&&(g=!0)})),c.$0=this.$0,this.parsed=l,0===n&&v(this,ut,"f").clearCachedHelpMessage();try{if(this[jt](),s)return this[Vt](c,a,!!i,!1);if(v(this,Z,"f")){[v(this,Z,"f")].concat(u[v(this,Z,"f")]||[]).filter((t=>t.length>1)).includes(""+c._[c._.length-1])&&(c._.pop(),p=!0)}const h=v(this,z,"f").getCommands(),m=v(this,U,"f").completionKey in c,y=p||m||r;if(c._.length){if(h.length){let t;for(let e,s=n||0;void 0!==c._[s];s++){if(e=String(c._[s]),h.includes(e)&&e!==v(this,F,"f")){const t=v(this,z,"f").runCommand(e,this,l,s+1,r,p||g||r);return this[Vt](t,a,!!i,!1)}if(!t&&e!==v(this,F,"f")){t=e;break}}!v(this,z,"f").hasDefaultCommand()&&v(this,ht,"f")&&t&&!y&&v(this,gt,"f").recommendCommands(t,h)}v(this,F,"f")&&c._.includes(v(this,F,"f"))&&!m&&(v(this,G,"f")&&x(!0),this.showCompletionScript(),this.exit(0))}if(v(this,z,"f").hasDefaultCommand()&&!y){const t=v(this,z,"f").runCommand(null,this,l,0,r,p||g||r);return this[Vt](t,a,!!i,!1)}if(m){v(this,G,"f")&&x(!0);const s=(t=[].concat(t)).slice(t.indexOf(`--${v(this,U,"f").completionKey}`)+1);return v(this,U,"f").getCompletion(s,((t,s)=>{if(t)throw new e(t.message);(s||[]).forEach((t=>{v(this,X,"f").log(t)})),this.exit(0)})),this[Vt](c,!a,!!i,!1)}if(v(this,J,"f")||(p?(v(this,G,"f")&&x(!0),o=!0,this.showHelp("log"),this.exit(0)):g&&(v(this,G,"f")&&x(!0),o=!0,v(this,ut,"f").showVersion("log"),this.exit(0))),!o&&v(this,tt,"f").skipValidation.length>0&&(o=Object.keys(c).some((t=>v(this,tt,"f").skipValidation.indexOf(t)>=0&&!0===c[t]))),!o){if(l.error)throw new e(l.error.message);if(!m){const t=this[Kt](u,{},l.error);i||(d=C(c,this,v(this,B,"f").getMiddleware(),!0)),d=this[Dt](t,null!=d?d:c),f(d)&&!i&&(d=d.then((()=>C(c,this,v(this,B,"f").getMiddleware(),!1))))}}}catch(t){if(!(t instanceof e))throw t;v(this,ut,"f").fail(t.message,t)}return this[Vt](null!=d?d:c,a,!!i,!0)}[Kt](t,s,i,n){const r={...this.getDemandedOptions()};return o=>{if(i)throw new e(i.message);v(this,gt,"f").nonOptionCount(o),v(this,gt,"f").requiredArguments(o,r);let a=!1;v(this,ft,"f")&&(a=v(this,gt,"f").unknownCommands(o)),v(this,ct,"f")&&!a?v(this,gt,"f").unknownArguments(o,t,s,!!n):v(this,dt,"f")&&v(this,gt,"f").unknownArguments(o,t,{},!1,!1),v(this,gt,"f").limitedChoices(o),v(this,gt,"f").implications(o),v(this,gt,"f").conflicting(o)}}[Bt](){O(this,J,!0,"f")}[Yt](t){if("string"==typeof t)v(this,tt,"f").key[t]=!0;else for(const e of t)v(this,tt,"f").key[e]=!0}}var Zt,Xt;const{readFileSync:Qt}=require("fs"),{inspect:te}=require("util"),{resolve:ee}=require("path"),se=require("y18n"),ie=require("yargs-parser");var ne,re={assert:{notStrictEqual:t.notStrictEqual,strictEqual:t.strictEqual},cliui:require("cliui"),findUp:require("escalade/sync"),getEnv:t=>process.env[t],getCallerFile:require("get-caller-file"),getProcessArgvBin:y,inspect:te,mainFilename:null!==(Xt=null===(Zt=null===require||void 0===require?void 0:require.main)||void 0===Zt?void 0:Zt.filename)&&void 0!==Xt?Xt:process.cwd(),Parser:ie,path:require("path"),process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(t,e)=>process.emitWarning(t,e),execPath:()=>process.execPath,exit:t=>{process.exit(t)},nextTick:process.nextTick,stdColumns:void 0!==process.stdout.columns?process.stdout.columns:null},readFileSync:Qt,require:require,requireDirectory:require("require-directory"),stringWidth:require("string-width"),y18n:se({directory:ee(__dirname,"../locales"),updateFiles:!1})};const oe=(null===(ne=null===process||void 0===process?void 0:process.env)||void 0===ne?void 0:ne.YARGS_MIN_NODE_VERSION)?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version){if(Number(process.version.match(/v([^.]+)/)[1]){const i=new Jt(t,e,s,he);return Object.defineProperty(i,"argv",{get:()=>i.parse(),enumerable:!0}),i.help(),i.version(),i}),argsert:h,isPromise:f,objFilter:g,parseCommand:o,Parser:ae,processArgv:b,YError:e};module.exports=le; +"use strict";var t=require("assert");class e extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,e)}}let s,i=[];function n(t,o,a,h){s=h;let l={};if(Object.prototype.hasOwnProperty.call(t,"extends")){if("string"!=typeof t.extends)return l;const r=/\.json|\..*rc$/.test(t.extends);let h=null;if(r)h=function(t,e){return s.path.resolve(t,e)}(o,t.extends);else try{h=require.resolve(t.extends)}catch(e){return t}!function(t){if(i.indexOf(t)>-1)throw new e(`Circular extended configurations: '${t}'.`)}(h),i.push(h),l=r?JSON.parse(s.readFileSync(h,"utf8")):require(t.extends),delete t.extends,l=n(l,s.path.dirname(h),a,s)}return i=[],a?r(l,t):Object.assign({},l,t)}function r(t,e){const s={};function i(t){return t&&"object"==typeof t&&!Array.isArray(t)}Object.assign(s,t);for(const n of Object.keys(e))i(e[n])&&i(s[n])?s[n]=r(t[n],e[n]):s[n]=e[n];return s}function o(t){const e=t.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),s=/\.*[\][<>]/g,i=e.shift();if(!i)throw new Error(`No command found in: ${t}`);const n={cmd:i.replace(s,""),demanded:[],optional:[]};return e.forEach(((t,i)=>{let r=!1;t=t.replace(/\s/g,""),/\.+[\]>]/.test(t)&&i===e.length-1&&(r=!0),/^\[/.test(t)?n.optional.push({cmd:t.replace(s,"").split("|"),variadic:r}):n.demanded.push({cmd:t.replace(s,"").split("|"),variadic:r})})),n}const a=["first","second","third","fourth","fifth","sixth"];function h(t,s,i){try{let n=0;const[r,a,h]="object"==typeof t?[{demanded:[],optional:[]},t,s]:[o(`cmd ${t}`),s,i],f=[].slice.call(a);for(;f.length&&void 0===f[f.length-1];)f.pop();const d=h||f.length;if(du)throw new e(`Too many arguments provided. Expected max ${u} but received ${d}.`);r.demanded.forEach((t=>{const e=l(f.shift());0===t.cmd.filter((t=>t===e||"*"===t)).length&&c(e,t.cmd,n),n+=1})),r.optional.forEach((t=>{if(0===f.length)return;const e=l(f.shift());0===t.cmd.filter((t=>t===e||"*"===t)).length&&c(e,t.cmd,n),n+=1}))}catch(t){console.warn(t.stack)}}function l(t){return Array.isArray(t)?"array":null===t?"null":typeof t}function c(t,s,i){throw new e(`Invalid ${a[i]||"manyith"} argument. Expected ${s.join(" or ")} but received ${t}.`)}function f(t){return!!t&&!!t.then&&"function"==typeof t.then}function d(t,e,s,i){s.assert.notStrictEqual(t,e,i)}function u(t,e){e.assert.strictEqual(typeof t,"string")}function p(t){return Object.keys(t)}function g(t={},e=(()=>!0)){const s={};return p(t).forEach((i=>{e(i,t[i])&&(s[i]=t[i])})),s}function m(){return process.versions.electron&&!process.defaultApp?0:1}function y(){return process.argv[m()]}var b=Object.freeze({__proto__:null,hideBin:function(t){return t.slice(m()+1)},getProcessArgvBin:y});function v(t,e,s,i){if("a"===s&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?i:"a"===s?i.call(t):i?i.value:e.get(t)}function O(t,e,s,i,n){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?n.call(t,s):n?n.value=s:e.set(t,s),s}class w{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,e,s=!0,i=!1){if(h(" [boolean] [boolean] [boolean]",[t,e,s],arguments.length),Array.isArray(t)){for(let i=0;i{const i=[...s[e]||[],e];return!t.option||!i.includes(t.option)})),t.option=e,this.addMiddleware(t,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){const t=this.frozens.pop();void 0!==t&&(this.globalMiddleware=t)}reset(){this.globalMiddleware=this.globalMiddleware.filter((t=>t.global))}}function C(t,e,s,i){return s.reduce(((t,s)=>{if(s.applyBeforeValidation!==i)return t;if(s.mutates){if(s.applied)return t;s.applied=!0}if(f(t))return t.then((t=>Promise.all([t,s(t,e)]))).then((([t,e])=>Object.assign(t,e)));{const i=s(t,e);return f(i)?i.then((e=>Object.assign(t,e))):Object.assign(t,i)}}),t)}function j(t,e,s=(t=>{throw t})){try{const s="function"==typeof t?t():t;return f(s)?s.then((t=>e(t))):e(s)}catch(t){return s(t)}}const _=/(^\*)|(^\$0)/;class M{constructor(t,e,s,i){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=i,this.usage=t,this.globalMiddleware=s,this.validation=e}addDirectory(t,e,s,i){"boolean"!=typeof(i=i||{}).recurse&&(i.recurse=!1),Array.isArray(i.extensions)||(i.extensions=["js"]);const n="function"==typeof i.visit?i.visit:t=>t;i.visit=(t,e,s)=>{const i=n(t,e,s);if(i){if(this.requireCache.has(e))return i;this.requireCache.add(e),this.addHandler(i)}return i},this.shim.requireDirectory({require:e,filename:s},t,i)}addHandler(t,e,s,i,n,r){let a=[];const h=function(t){return t?t.map((t=>(t.applyBeforeValidation=!1,t))):[]}(n);if(i=i||(()=>{}),Array.isArray(t))if(function(t){return t.every((t=>"string"==typeof t))}(t))[t,...a]=t;else for(const e of t)this.addHandler(e);else{if(function(t){return"object"==typeof t&&!Array.isArray(t)}(t)){let e=Array.isArray(t.command)||"string"==typeof t.command?t.command:this.moduleName(t);return t.aliases&&(e=[].concat(e).concat(t.aliases)),void this.addHandler(e,this.extractDesc(t),t.builder,t.handler,t.middlewares,t.deprecated)}if(k(s))return void this.addHandler([t].concat(a),e,s.builder,s.handler,s.middlewares,s.deprecated)}if("string"==typeof t){const n=o(t);a=a.map((t=>o(t).cmd));let l=!1;const c=[n.cmd].concat(a).filter((t=>!_.test(t)||(l=!0,!1)));0===c.length&&l&&c.push("$0"),l&&(n.cmd=c[0],a=c.slice(1),t=t.replace(_,n.cmd)),a.forEach((t=>{this.aliasMap[t]=n.cmd})),!1!==e&&this.usage.command(t,e,l,a,r),this.handlers[n.cmd]={original:t,description:e,handler:i,builder:s||{},middlewares:h,deprecated:r,demanded:n.demanded,optional:n.optional},l&&(this.defaultCommand=this.handlers[n.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(t,e,s,i,n,r){const o=this.handlers[t]||this.handlers[this.aliasMap[t]]||this.defaultCommand,a=e.getInternalMethods().getContext(),h=a.commands.slice(),l=!t;t&&(a.commands.push(t),a.fullCommands.push(o.original));const c=this.applyBuilderUpdateUsageAndParse(l,o,e,s.aliases,h,i,n,r);return f(c)?c.then((t=>this.applyMiddlewareAndGetResult(l,o,t.innerArgv,a,n,t.aliases,e))):this.applyMiddlewareAndGetResult(l,o,c.innerArgv,a,n,c.aliases,e)}applyBuilderUpdateUsageAndParse(t,e,s,i,n,r,o,a){const h=e.builder;let l=s;if(x(h)){const c=h(s.getInternalMethods().reset(i),a);if(f(c))return c.then((i=>{var a;return l=(a=i)&&"function"==typeof a.getInternalMethods?i:s,this.parseAndUpdateUsage(t,e,l,n,r,o)}))}else(function(t){return"object"==typeof t})(h)&&(l=s.getInternalMethods().reset(i),Object.keys(e.builder).forEach((t=>{l.option(t,h[t])})));return this.parseAndUpdateUsage(t,e,l,n,r,o)}parseAndUpdateUsage(t,e,s,i,n,r){t&&s.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(s)&&s.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(i,e),e.description);const o=s.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,n,r);return f(o)?o.then((t=>({aliases:s.parsed.aliases,innerArgv:t}))):{aliases:s.parsed.aliases,innerArgv:o}}shouldUpdateUsage(t){return!t.getInternalMethods().getUsageInstance().getUsageDisabled()&&0===t.getInternalMethods().getUsageInstance().getUsage().length}usageFromParentCommandsCommandHandler(t,e){const s=_.test(e.original)?e.original.replace(_,"").trim():e.original,i=t.filter((t=>!_.test(t)));return i.push(s),`$0 ${i.join(" ")}`}handleValidationAndGetResult(t,e,s,i,n,r,o,a){if(!r.getInternalMethods().getHasOutput()){const e=r.getInternalMethods().runValidation(n,a,r.parsed.error,t);s=j(s,(t=>(e(t),t)))}if(e.handler&&!r.getInternalMethods().getHasOutput()){r.getInternalMethods().setHasOutput();const i=!!r.getOptions().configuration["populate--"];r.getInternalMethods().postProcess(s,i,!1,!1),s=j(s=C(s,r,o,!1),(t=>{const s=e.handler(t);return f(s)?s.then((()=>t)):t})),t||r.getInternalMethods().getUsageInstance().cacheHelpMessage(),f(s)&&!r.getInternalMethods().hasParseCallback()&&s.catch((t=>{try{r.getInternalMethods().getUsageInstance().fail(null,t)}catch(t){}}))}return t||(i.commands.pop(),i.fullCommands.pop()),s}applyMiddlewareAndGetResult(t,e,s,i,n,r,o){let a={};if(n)return s;o.getInternalMethods().getHasOutput()||(a=this.populatePositionals(e,s,i,o));const h=this.globalMiddleware.getMiddleware().slice(0).concat(e.middlewares),l=C(s,o,h,!0);return f(l)?l.then((s=>this.handleValidationAndGetResult(t,e,s,i,r,o,h,a))):this.handleValidationAndGetResult(t,e,l,i,r,o,h,a)}populatePositionals(t,e,s,i){e._=e._.slice(s.commands.length);const n=t.demanded.slice(0),r=t.optional.slice(0),o={};for(this.validation.positionalCount(n.length,e._.length);n.length;){const t=n.shift();this.populatePositional(t,e,o)}for(;r.length;){const t=r.shift();this.populatePositional(t,e,o)}return e._=s.commands.concat(e._.map((t=>""+t))),this.postProcessPositionals(e,o,this.cmdToParseOptions(t.original),i),o}populatePositional(t,e,s){const i=t.cmd[0];t.variadic?s[i]=e._.splice(0).map(String):e._.length&&(s[i]=[String(e._.shift())])}cmdToParseOptions(t){const e={array:[],default:{},alias:{},demand:{}},s=o(t);return s.demanded.forEach((t=>{const[s,...i]=t.cmd;t.variadic&&(e.array.push(s),e.default[s]=[]),e.alias[s]=i,e.demand[s]=!0})),s.optional.forEach((t=>{const[s,...i]=t.cmd;t.variadic&&(e.array.push(s),e.default[s]=[]),e.alias[s]=i})),e}postProcessPositionals(t,e,s,i){const n=Object.assign({},i.getOptions());n.default=Object.assign(s.default,n.default);for(const t of Object.keys(s.alias))n.alias[t]=(n.alias[t]||[]).concat(s.alias[t]);n.array=n.array.concat(s.array),n.config={};const r=[];if(Object.keys(e).forEach((t=>{e[t].map((e=>{n.configuration["unknown-options-as-args"]&&(n.key[t]=!0),r.push(`--${t}`),r.push(e)}))})),!r.length)return;const o=Object.assign({},n.configuration,{"populate--":!1}),a=this.shim.Parser.detailed(r,Object.assign({},n,{configuration:o}));if(a.error)i.getInternalMethods().getUsageInstance().fail(a.error.message,a.error);else{const s=Object.keys(e);Object.keys(e).forEach((t=>{s.push(...a.aliases[t])})),Object.keys(a.argv).forEach((n=>{s.includes(n)&&(e[n]||(e[n]=a.argv[n]),!this.isInConfigs(i,n)&&!this.isDefaulted(i,n)&&Object.prototype.hasOwnProperty.call(t,n)&&Object.prototype.hasOwnProperty.call(a.argv,n)&&(Array.isArray(t[n])||Array.isArray(a.argv[n]))?t[n]=[].concat(t[n],a.argv[n]):t[n]=a.argv[n])}))}}isDefaulted(t,e){const{default:s}=t.getOptions();return Object.prototype.hasOwnProperty.call(s,e)||Object.prototype.hasOwnProperty.call(s,this.shim.Parser.camelCase(e))}isInConfigs(t,e){const{configObjects:s}=t.getOptions();return s.some((t=>Object.prototype.hasOwnProperty.call(t,e)))||s.some((t=>Object.prototype.hasOwnProperty.call(t,this.shim.Parser.camelCase(e))))}runDefaultBuilderOn(t){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(t)){const e=_.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");t.getInternalMethods().getUsageInstance().usage(e,this.defaultCommand.description)}const e=this.defaultCommand.builder;if(x(e))return e(t,!0);k(e)||Object.keys(e).forEach((s=>{t.option(s,e[s])}))}moduleName(t){const e=function(t){if("undefined"==typeof require)return null;for(let e,s=0,i=Object.keys(require.cache);s{const s=e;s._handle&&s.isTTY&&"function"==typeof s._handle.setBlocking&&s._handle.setBlocking(t)}))}function A(t){return"boolean"==typeof t}function P(t,s){const i=s.y18n.__,n={},r=[];n.failFn=function(t){r.push(t)};let o=null,a=null,h=!0;n.showHelpOnFail=function(e=!0,s){const[i,r]="string"==typeof e?[!0,e]:[e,s];return t.getInternalMethods().isGlobalContext()&&(a=r),o=r,h=i,n};let l=!1;n.fail=function(s,i){const c=t.getInternalMethods().getLoggerInstance();if(!r.length){if(t.getExitProcess()&&E(!0),!l){l=!0,h&&(t.showHelp("error"),c.error()),(s||i)&&c.error(s||i);const e=o||a;e&&((s||i)&&c.error(""),c.error(e))}if(i=i||new e(s),t.getExitProcess())return t.exit(1);if(t.getInternalMethods().hasParseCallback())return t.exit(1,i);throw i}for(let t=r.length-1;t>=0;--t){const e=r[t];if(A(e)){if(i)throw i;if(s)throw Error(s)}else e(s,i,n)}};let c=[],f=!1;n.usage=(t,e)=>null===t?(f=!0,c=[],n):(f=!1,c.push([t,e||""]),n),n.getUsage=()=>c,n.getUsageDisabled=()=>f,n.getPositionalGroupName=()=>i("Positionals:");let d=[];n.example=(t,e)=>{d.push([t,e||""])};let u=[];n.command=function(t,e,s,i,n=!1){s&&(u=u.map((t=>(t[2]=!1,t)))),u.push([t,e||"",s,i,n])},n.getCommands=()=>u;let p={};n.describe=function(t,e){Array.isArray(t)?t.forEach((t=>{n.describe(t,e)})):"object"==typeof t?Object.keys(t).forEach((e=>{n.describe(e,t[e])})):p[t]=e},n.getDescriptions=()=>p;let m=[];n.epilog=t=>{m.push(t)};let y,b=!1;function v(){return b||(y=function(){const t=80;return s.process.stdColumns?Math.min(t,s.process.stdColumns):t}(),b=!0),y}n.wrap=t=>{b=!0,y=t};const O="__yargsString__:";function w(t,e,i){let n=0;return Array.isArray(t)||(t=Object.values(t).map((t=>[t]))),t.forEach((t=>{n=Math.max(s.stringWidth(i?`${i} ${I(t[0])}`:I(t[0]))+$(t[0]),n)})),e&&(n=Math.min(n,parseInt((.5*e).toString(),10))),n}let C;function j(e){return t.getOptions().hiddenOptions.indexOf(e)<0||t.parsed.argv[t.getOptions().showHiddenOpt]}function _(t,e){let s=`[${i("default:")} `;if(void 0===t&&!e)return null;if(e)s+=e;else switch(typeof t){case"string":s+=`"${t}"`;break;case"object":s+=JSON.stringify(t);break;default:s+=t}return`${s}]`}n.deferY18nLookup=t=>O+t,n.help=function(){if(C)return C;!function(){const e=t.getDemandedOptions(),s=t.getOptions();(Object.keys(s.alias)||[]).forEach((i=>{s.alias[i].forEach((r=>{p[r]&&n.describe(i,p[r]),r in e&&t.demandOption(i,e[r]),s.boolean.includes(r)&&t.boolean(i),s.count.includes(r)&&t.count(i),s.string.includes(r)&&t.string(i),s.normalize.includes(r)&&t.normalize(i),s.array.includes(r)&&t.array(i),s.number.includes(r)&&t.number(i)}))}))}();const e=t.customScriptName?t.$0:s.path.basename(t.$0),r=t.getDemandedOptions(),o=t.getDemandedCommands(),a=t.getDeprecatedOptions(),h=t.getGroups(),l=t.getOptions();let g=[];g=g.concat(Object.keys(p)),g=g.concat(Object.keys(r)),g=g.concat(Object.keys(o)),g=g.concat(Object.keys(l.default)),g=g.filter(j),g=Object.keys(g.reduce(((t,e)=>("_"!==e&&(t[e]=!0),t)),{}));const y=v(),b=s.cliui({width:y,wrap:!!y});if(!f)if(c.length)c.forEach((t=>{b.div({text:`${t[0].replace(/\$0/g,e)}`}),t[1]&&b.div({text:`${t[1]}`,padding:[1,0,0,0]})})),b.div();else if(u.length){let t=null;t=o._?`${e} <${i("command")}>\n`:`${e} [${i("command")}]\n`,b.div(`${t}`)}if(u.length>1||1===u.length&&!u[0][2]){b.div(i("Commands:"));const s=t.getInternalMethods().getContext(),n=s.commands.length?`${s.commands.join(" ")} `:"";!0===t.getInternalMethods().getParserConfiguration()["sort-commands"]&&(u=u.sort(((t,e)=>t[0].localeCompare(e[0]))));const r=e?`${e} `:"";u.forEach((t=>{const s=`${r}${n}${t[0].replace(/^\$0 ?/,"")}`;b.span({text:s,padding:[0,2,0,2],width:w(u,y,`${e}${n}`)+4},{text:t[1]});const o=[];t[2]&&o.push(`[${i("default")}]`),t[3]&&t[3].length&&o.push(`[${i("aliases:")} ${t[3].join(", ")}]`),t[4]&&("string"==typeof t[4]?o.push(`[${i("deprecated: %s",t[4])}]`):o.push(`[${i("deprecated")}]`)),o.length?b.div({text:o.join(" "),padding:[0,0,0,2],align:"right"}):b.div()})),b.div()}const M=(Object.keys(l.alias)||[]).concat(Object.keys(t.parsed.newAliases)||[]);g=g.filter((e=>!t.parsed.newAliases[e]&&M.every((t=>-1===(l.alias[t]||[]).indexOf(e)))));const k=i("Options:");h[k]||(h[k]=[]),function(t,e,s,i){let n=[],r=null;Object.keys(s).forEach((t=>{n=n.concat(s[t])})),t.forEach((t=>{r=[t].concat(e[t]),r.some((t=>-1!==n.indexOf(t)))||s[i].push(t)}))}(g,l.alias,h,k);const x=t=>/^--/.test(I(t)),E=Object.keys(h).filter((t=>h[t].length>0)).map((t=>({groupName:t,normalizedKeys:h[t].filter(j).map((t=>{if(M.includes(t))return t;for(let e,s=0;void 0!==(e=M[s]);s++)if((l.alias[e]||[]).includes(t))return e;return t}))}))).filter((({normalizedKeys:t})=>t.length>0)).map((({groupName:t,normalizedKeys:e})=>{const s=e.reduce(((e,s)=>(e[s]=[s].concat(l.alias[s]||[]).map((e=>t===n.getPositionalGroupName()?e:(/^[0-9]$/.test(e)?l.boolean.includes(s)?"-":"--":e.length>1?"--":"-")+e)).sort(((t,e)=>x(t)===x(e)?0:x(t)?1:-1)).join(", "),e)),{});return{groupName:t,normalizedKeys:e,switches:s}}));if(E.filter((({groupName:t})=>t!==n.getPositionalGroupName())).some((({normalizedKeys:t,switches:e})=>!t.every((t=>x(e[t])))))&&E.filter((({groupName:t})=>t!==n.getPositionalGroupName())).forEach((({normalizedKeys:t,switches:e})=>{t.forEach((t=>{var s,i;x(e[t])&&(e[t]=(s=e[t],i="-x, ".length,S(s)?{text:s.text,indentation:s.indentation+i}:{text:s,indentation:i}))}))})),E.forEach((({groupName:t,normalizedKeys:e,switches:s})=>{b.div(t),e.forEach((t=>{const e=s[t];let o=p[t]||"",h=null;o.includes(O)&&(o=i(o.substring(O.length))),l.boolean.includes(t)&&(h=`[${i("boolean")}]`),l.count.includes(t)&&(h=`[${i("count")}]`),l.string.includes(t)&&(h=`[${i("string")}]`),l.normalize.includes(t)&&(h=`[${i("string")}]`),l.array.includes(t)&&(h=`[${i("array")}]`),l.number.includes(t)&&(h=`[${i("number")}]`);const c=[t in a?(f=a[t],"string"==typeof f?`[${i("deprecated: %s",f)}]`:`[${i("deprecated")}]`):null,h,t in r?`[${i("required")}]`:null,l.choices&&l.choices[t]?`[${i("choices:")} ${n.stringifiedValues(l.choices[t])}]`:null,_(l.default[t],l.defaultDescription[t])].filter(Boolean).join(" ");var f;b.span({text:I(e),padding:[0,2,0,2+$(e)],width:w(s,y)+4},o),c?b.div({text:c,padding:[0,0,0,2],align:"right"}):b.div()})),b.div()})),d.length&&(b.div(i("Examples:")),d.forEach((t=>{t[0]=t[0].replace(/\$0/g,e)})),d.forEach((t=>{""===t[1]?b.div({text:t[0],padding:[0,2,0,2]}):b.div({text:t[0],padding:[0,2,0,2],width:w(d,y)+4},{text:t[1]})})),b.div()),m.length>0){const t=m.map((t=>t.replace(/\$0/g,e))).join("\n");b.div(`${t}\n`)}return b.toString().replace(/\s*$/,"")},n.cacheHelpMessage=function(){C=this.help()},n.clearCachedHelpMessage=function(){C=void 0},n.hasCachedHelpMessage=function(){return!!C},n.showHelp=e=>{const s=t.getInternalMethods().getLoggerInstance();e||(e="error");("function"==typeof e?e:s[e])(n.help())},n.functionDescription=t=>["(",t.name?s.Parser.decamelize(t.name,"-"):i("generated-value"),")"].join(""),n.stringifiedValues=function(t,e){let s="";const i=e||", ",n=[].concat(t);return t&&n.length?(n.forEach((t=>{s.length&&(s+=i),s+=JSON.stringify(t)})),s):s};let M=null;n.version=t=>{M=t},n.showVersion=e=>{const s=t.getInternalMethods().getLoggerInstance();e||(e="error");("function"==typeof e?e:s[e])(M)},n.reset=function(t){return o=null,l=!1,c=[],f=!1,m=[],d=[],u=[],p=g(p,(e=>!t[e])),n};const k=[];return n.freeze=function(){k.push({failMessage:o,failureOutput:l,usages:c,usageDisabled:f,epilogs:m,examples:d,commands:u,descriptions:p})},n.unfreeze=function(t=!1){const e=k.pop();e&&(t?(p={...e.descriptions,...p},u=[...e.commands,...u],c=[...e.usages,...c],d=[...e.examples,...d],m=[...e.epilogs,...m]):({failMessage:o,failureOutput:l,usages:c,usageDisabled:f,epilogs:m,examples:d,commands:u,descriptions:p}=e))},n}function S(t){return"object"==typeof t}function $(t){return S(t)?t.indentation:0}function I(t){return S(t)?t.text:t}class D{constructor(t,e,s,i){var n,r,o;this.yargs=t,this.usage=e,this.command=s,this.shim=i,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=null!==(o=(null===(n=this.shim.getEnv("SHELL"))||void 0===n?void 0:n.includes("zsh"))||(null===(r=this.shim.getEnv("ZSH_NAME"))||void 0===r?void 0:r.includes("zsh")))&&void 0!==o&&o}defaultCompletion(t,e,s,i){const n=this.command.getCommandHandlers();for(let e=0,s=t.length;e{const i=o(s[0]).cmd;if(-1===e.indexOf(i))if(this.zshShell){const e=s[1]||"";t.push(i.replace(/:/g,"\\:")+":"+e)}else t.push(i)}))}optionCompletions(t,e,s,i){if((i.match(/^-/)||""===i&&0===t.length)&&!this.previousArgHasChoices(e)){const s=this.yargs.getOptions(),n=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(s.key).forEach((r=>{const o=!!s.configuration["boolean-negation"]&&s.boolean.includes(r);n.includes(r)||s.hiddenOptions.includes(r)||this.argsContainKey(e,r,o)||(this.completeOptionKey(r,t,i),o&&s.default[r]&&this.completeOptionKey(`no-${r}`,t,i))}))}}choicesFromOptionsCompletions(t,e,s,i){if(this.previousArgHasChoices(e)){const s=this.getPreviousArgChoices(e);s&&s.length>0&&t.push(...s.map((t=>t.replace(/:/g,"\\:"))))}}choicesFromPositionalsCompletions(t,e,s,i){if(""===i&&t.length>0&&this.previousArgHasChoices(e))return;const n=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],r=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),o=n[s._.length-r-1];if(!o)return;const a=this.yargs.getOptions().choices[o]||[];for(const e of a)e.startsWith(i)&&t.push(e.replace(/:/g,"\\:"))}getPreviousArgChoices(t){if(t.length<1)return;let e=t[t.length-1],s="";if(!e.startsWith("-")&&t.length>1&&(s=e,e=t[t.length-2]),!e.startsWith("-"))return;const i=e.replace(/^-+/,""),n=this.yargs.getOptions(),r=[i,...this.yargs.getAliases()[i]||[]];let o;for(const t of r)if(Object.prototype.hasOwnProperty.call(n.key,t)&&Array.isArray(n.choices[t])){o=n.choices[t];break}return o?o.filter((t=>!s||t.startsWith(s))):void 0}previousArgHasChoices(t){const e=this.getPreviousArgChoices(t);return void 0!==e&&e.length>0}argsContainKey(t,e,s){const i=e=>-1!==t.indexOf((/^[^0-9]$/.test(e)?"-":"--")+e);if(i(e))return!0;if(s&&i(`no-${e}`))return!0;if(this.aliases)for(const t of this.aliases[e])if(i(t))return!0;return!1}completeOptionKey(t,e,s){const i=this.usage.getDescriptions(),n=!/^--/.test(s)&&(t=>/^[^0-9]$/.test(t))(t)?"-":"--";if(this.zshShell){const s=i[t]||"";e.push(n+`${t.replace(/:/g,"\\:")}:${s.replace("__yargsString__:","")}`)}else e.push(n+t)}customCompletion(t,e,s,i){if(d(this.customCompletionFunction,null,this.shim),this.customCompletionFunction.length<3){const t=this.customCompletionFunction(s,e);return f(t)?t.then((t=>{this.shim.process.nextTick((()=>{i(null,t)}))})).catch((t=>{this.shim.process.nextTick((()=>{i(t,void 0)}))})):i(null,t)}return function(t){return t.length>3}(this.customCompletionFunction)?this.customCompletionFunction(s,e,((n=i)=>this.defaultCompletion(t,e,s,n)),(t=>{i(null,t)})):this.customCompletionFunction(s,e,(t=>{i(null,t)}))}getCompletion(t,e){const s=t.length?t[t.length-1]:"",i=this.yargs.parse(t,!0),n=this.customCompletionFunction?i=>this.customCompletion(t,i,s,e):i=>this.defaultCompletion(t,i,s,e);return f(i)?i.then(n):n(i)}generateCompletionScript(t,e){let s=this.zshShell?'#compdef {{app_name}}\n###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.zshrc\n# or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local reply\n local si=$IFS\n IFS=$\'\n\' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "${words[@]}"))\n IFS=$si\n _describe \'values\' reply\n}\ncompdef _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n':'###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.bashrc\n# or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local cur_word args type_list\n\n cur_word="${COMP_WORDS[COMP_CWORD]}"\n args=("${COMP_WORDS[@]}")\n\n # ask yargs to generate completions.\n type_list=$({{app_path}} --get-yargs-completions "${args[@]}")\n\n COMPREPLY=( $(compgen -W "${type_list}" -- ${cur_word}) )\n\n # if no match was found, fall back to filename completion\n if [ ${#COMPREPLY[@]} -eq 0 ]; then\n COMPREPLY=()\n fi\n\n return 0\n}\ncomplete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n';const i=this.shim.path.basename(t);return t.match(/\.js$/)&&(t=`./${t}`),s=s.replace(/{{app_name}}/g,i),s=s.replace(/{{completion_command}}/g,e),s.replace(/{{app_path}}/g,t)}registerFunction(t){this.customCompletionFunction=t}setParsed(t){this.aliases=t.aliases}}function N(t,e){if(0===t.length)return e.length;if(0===e.length)return t.length;const s=[];let i,n;for(i=0;i<=e.length;i++)s[i]=[i];for(n=0;n<=t.length;n++)s[0][n]=n;for(i=1;i<=e.length;i++)for(n=1;n<=t.length;n++)e.charAt(i-1)===t.charAt(n-1)?s[i][n]=s[i-1][n-1]:i>1&&n>1&&e.charAt(i-2)===t.charAt(n-1)&&e.charAt(i-1)===t.charAt(n-2)?s[i][n]=s[i-2][n-2]+1:s[i][n]=Math.min(s[i-1][n-1]+1,Math.min(s[i][n-1]+1,s[i-1][n]+1));return s[e.length][t.length]}const H=["$0","--","_"];var z,q,W,F,U,L,V,G,R,T,K,B,Y,J,Z,X,Q,tt,et,st,it,nt,rt,ot,at,ht,lt,ct,ft,dt,ut,pt,gt,mt;const yt=Symbol("copyDoubleDash"),bt=Symbol("copyDoubleDash"),vt=Symbol("deleteFromParserHintObject"),Ot=Symbol("emitWarning"),wt=Symbol("freeze"),Ct=Symbol("getDollarZero"),jt=Symbol("getParserConfiguration"),_t=Symbol("guessLocale"),Mt=Symbol("guessVersion"),kt=Symbol("parsePositionalNumbers"),xt=Symbol("pkgUp"),Et=Symbol("populateParserHintArray"),At=Symbol("populateParserHintSingleValueDictionary"),Pt=Symbol("populateParserHintArrayDictionary"),St=Symbol("populateParserHintDictionary"),$t=Symbol("sanitizeKey"),It=Symbol("setKey"),Dt=Symbol("unfreeze"),Nt=Symbol("validateAsync"),Ht=Symbol("getCommandInstance"),zt=Symbol("getContext"),qt=Symbol("getHasOutput"),Wt=Symbol("getLoggerInstance"),Ft=Symbol("getParseContext"),Ut=Symbol("getUsageInstance"),Lt=Symbol("getValidationInstance"),Vt=Symbol("hasParseCallback"),Gt=Symbol("isGlobalContext"),Rt=Symbol("postProcess"),Tt=Symbol("rebase"),Kt=Symbol("reset"),Bt=Symbol("runYargsParserAndExecuteCommands"),Yt=Symbol("runValidation"),Jt=Symbol("setHasOutput"),Zt=Symbol("kTrackManuallySetKeys");class Xt{constructor(t=[],e,s,i){this.customScriptName=!1,this.parsed=!1,z.set(this,void 0),q.set(this,void 0),W.set(this,{commands:[],fullCommands:[]}),F.set(this,null),U.set(this,null),L.set(this,"show-hidden"),V.set(this,null),G.set(this,!0),R.set(this,{}),T.set(this,!0),K.set(this,[]),B.set(this,void 0),Y.set(this,{}),J.set(this,!1),Z.set(this,null),X.set(this,!0),Q.set(this,void 0),tt.set(this,""),et.set(this,void 0),st.set(this,void 0),it.set(this,{}),nt.set(this,null),rt.set(this,null),ot.set(this,{}),at.set(this,{}),ht.set(this,void 0),lt.set(this,!1),ct.set(this,void 0),ft.set(this,!1),dt.set(this,!1),ut.set(this,!1),pt.set(this,void 0),gt.set(this,null),mt.set(this,void 0),O(this,ct,i,"f"),O(this,ht,t,"f"),O(this,q,e,"f"),O(this,st,s,"f"),O(this,B,new w(this),"f"),this.$0=this[Ct](),this[Kt](),O(this,z,v(this,z,"f"),"f"),O(this,pt,v(this,pt,"f"),"f"),O(this,mt,v(this,mt,"f"),"f"),O(this,et,v(this,et,"f"),"f"),v(this,et,"f").showHiddenOpt=v(this,L,"f"),O(this,Q,this[bt](),"f")}addHelpOpt(t,e){return h("[string|boolean] [string]",[t,e],arguments.length),v(this,Z,"f")&&(this[vt](v(this,Z,"f")),O(this,Z,null,"f")),!1===t&&void 0===e||(O(this,Z,"string"==typeof t?t:"help","f"),this.boolean(v(this,Z,"f")),this.describe(v(this,Z,"f"),e||v(this,pt,"f").deferY18nLookup("Show help"))),this}help(t,e){return this.addHelpOpt(t,e)}addShowHiddenOpt(t,e){if(h("[string|boolean] [string]",[t,e],arguments.length),!1===t&&void 0===e)return this;const s="string"==typeof t?t:v(this,L,"f");return this.boolean(s),this.describe(s,e||v(this,pt,"f").deferY18nLookup("Show hidden options")),v(this,et,"f").showHiddenOpt=s,this}showHidden(t,e){return this.addShowHiddenOpt(t,e)}alias(t,e){return h(" [string|array]",[t,e],arguments.length),this[Pt](this.alias.bind(this),"alias",t,e),this}array(t){return h("",[t],arguments.length),this[Et]("array",t),this[Zt](t),this}boolean(t){return h("",[t],arguments.length),this[Et]("boolean",t),this[Zt](t),this}check(t,e){return h(" [boolean]",[t,e],arguments.length),this.middleware(((e,s)=>j((()=>t(e,s.getOptions())),(s=>(s?("string"==typeof s||s instanceof Error)&&v(this,pt,"f").fail(s.toString(),s):v(this,pt,"f").fail(v(this,ct,"f").y18n.__("Argument check failed: %s",t.toString())),e)),(t=>(v(this,pt,"f").fail(t.message?t.message:t.toString(),t),e)))),!1,e),this}choices(t,e){return h(" [string|array]",[t,e],arguments.length),this[Pt](this.choices.bind(this),"choices",t,e),this}coerce(t,s){if(h(" [function]",[t,s],arguments.length),Array.isArray(t)){if(!s)throw new e("coerce callback must be provided");for(const e of t)this.coerce(e,s);return this}if("object"==typeof t){for(const e of Object.keys(t))this.coerce(e,t[e]);return this}if(!s)throw new e("coerce callback must be provided");return v(this,et,"f").key[t]=!0,v(this,B,"f").addCoerceMiddleware(((i,n)=>{let r;return Object.prototype.hasOwnProperty.call(i,t)?j((()=>(r=n.getAliases(),s(i[t]))),(e=>{i[t]=e;const s=n.getInternalMethods().getParserConfiguration()["strip-aliased"];if(r[t]&&!0!==s)for(const s of r[t])i[s]=e;return i}),(t=>{throw new e(t.message)})):i}),t),this}conflicts(t,e){return h(" [string|array]",[t,e],arguments.length),v(this,mt,"f").conflicts(t,e),this}config(t="config",e,s){return h("[object|string] [string|function] [function]",[t,e,s],arguments.length),"object"!=typeof t||Array.isArray(t)?("function"==typeof e&&(s=e,e=void 0),this.describe(t,e||v(this,pt,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach((t=>{v(this,et,"f").config[t]=s||!0})),this):(t=n(t,v(this,q,"f"),this[jt]()["deep-merge-config"]||!1,v(this,ct,"f")),v(this,et,"f").configObjects=(v(this,et,"f").configObjects||[]).concat(t),this)}completion(t,e,s){return h("[string] [string|boolean|function] [function]",[t,e,s],arguments.length),"function"==typeof e&&(s=e,e=void 0),O(this,U,t||v(this,U,"f")||"completion","f"),e||!1===e||(e="generate completion script"),this.command(v(this,U,"f"),e),s&&v(this,F,"f").registerFunction(s),this}command(t,e,s,i,n,r){return h(" [string|boolean] [function|object] [function] [array] [boolean|string]",[t,e,s,i,n,r],arguments.length),v(this,z,"f").addHandler(t,e,s,i,n,r),this}commands(t,e,s,i,n,r){return this.command(t,e,s,i,n,r)}commandDir(t,e){h(" [object]",[t,e],arguments.length);const s=v(this,st,"f")||v(this,ct,"f").require;return v(this,z,"f").addDirectory(t,s,v(this,ct,"f").getCallerFile(),e),this}count(t){return h("",[t],arguments.length),this[Et]("count",t),this[Zt](t),this}default(t,e,s){return h(" [*] [string]",[t,e,s],arguments.length),s&&(u(t,v(this,ct,"f")),v(this,et,"f").defaultDescription[t]=s),"function"==typeof e&&(u(t,v(this,ct,"f")),v(this,et,"f").defaultDescription[t]||(v(this,et,"f").defaultDescription[t]=v(this,pt,"f").functionDescription(e)),e=e.call()),this[At](this.default.bind(this),"default",t,e),this}defaults(t,e,s){return this.default(t,e,s)}demandCommand(t=1,e,s,i){return h("[number] [number|string] [string|null|undefined] [string|null|undefined]",[t,e,s,i],arguments.length),"number"!=typeof e&&(s=e,e=1/0),this.global("_",!1),v(this,et,"f").demandedCommands._={min:t,max:e,minMsg:s,maxMsg:i},this}demand(t,e,s){return Array.isArray(e)?(e.forEach((t=>{d(s,!0,v(this,ct,"f")),this.demandOption(t,s)})),e=1/0):"number"!=typeof e&&(s=e,e=1/0),"number"==typeof t?(d(s,!0,v(this,ct,"f")),this.demandCommand(t,e,s,s)):Array.isArray(t)?t.forEach((t=>{d(s,!0,v(this,ct,"f")),this.demandOption(t,s)})):"string"==typeof s?this.demandOption(t,s):!0!==s&&void 0!==s||this.demandOption(t),this}demandOption(t,e){return h(" [string]",[t,e],arguments.length),this[At](this.demandOption.bind(this),"demandedOptions",t,e),this}deprecateOption(t,e){return h(" [string|boolean]",[t,e],arguments.length),v(this,et,"f").deprecatedOptions[t]=e,this}describe(t,e){return h(" [string]",[t,e],arguments.length),this[It](t,!0),v(this,pt,"f").describe(t,e),this}detectLocale(t){return h("",[t],arguments.length),O(this,G,t,"f"),this}env(t){return h("[string|boolean]",[t],arguments.length),!1===t?delete v(this,et,"f").envPrefix:v(this,et,"f").envPrefix=t||"",this}epilogue(t){return h("",[t],arguments.length),v(this,pt,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,e){return h(" [string]",[t,e],arguments.length),Array.isArray(t)?t.forEach((t=>this.example(...t))):v(this,pt,"f").example(t,e),this}exit(t,e){O(this,J,!0,"f"),O(this,V,e,"f"),v(this,T,"f")&&v(this,ct,"f").process.exit(t)}exitProcess(t=!0){return h("[boolean]",[t],arguments.length),O(this,T,t,"f"),this}fail(t){if(h("",[t],arguments.length),"boolean"==typeof t&&!1!==t)throw new e("Invalid first argument. Expected function or boolean 'false'");return v(this,pt,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,e){return h(" [function]",[t,e],arguments.length),e?v(this,F,"f").getCompletion(t,e):new Promise(((e,s)=>{v(this,F,"f").getCompletion(t,((t,i)=>{t?s(t):e(i)}))}))}getDemandedOptions(){return h([],0),v(this,et,"f").demandedOptions}getDemandedCommands(){return h([],0),v(this,et,"f").demandedCommands}getDeprecatedOptions(){return h([],0),v(this,et,"f").deprecatedOptions}getDetectLocale(){return v(this,G,"f")}getExitProcess(){return v(this,T,"f")}getGroups(){return Object.assign({},v(this,Y,"f"),v(this,at,"f"))}getHelp(){if(O(this,J,!0,"f"),!v(this,pt,"f").hasCachedHelpMessage()){if(!this.parsed){const t=this[Bt](v(this,ht,"f"),void 0,void 0,0,!0);if(f(t))return t.then((()=>v(this,pt,"f").help()))}const t=v(this,z,"f").runDefaultBuilderOn(this);if(f(t))return t.then((()=>v(this,pt,"f").help()))}return Promise.resolve(v(this,pt,"f").help())}getOptions(){return v(this,et,"f")}getStrict(){return v(this,ft,"f")}getStrictCommands(){return v(this,dt,"f")}getStrictOptions(){return v(this,ut,"f")}global(t,e){return h(" [boolean]",[t,e],arguments.length),t=[].concat(t),!1!==e?v(this,et,"f").local=v(this,et,"f").local.filter((e=>-1===t.indexOf(e))):t.forEach((t=>{v(this,et,"f").local.includes(t)||v(this,et,"f").local.push(t)})),this}group(t,e){h(" ",[t,e],arguments.length);const s=v(this,at,"f")[e]||v(this,Y,"f")[e];v(this,at,"f")[e]&&delete v(this,at,"f")[e];const i={};return v(this,Y,"f")[e]=(s||[]).concat(t).filter((t=>!i[t]&&(i[t]=!0))),this}hide(t){return h("",[t],arguments.length),v(this,et,"f").hiddenOptions.push(t),this}implies(t,e){return h(" [number|string|array]",[t,e],arguments.length),v(this,mt,"f").implies(t,e),this}locale(t){return h("[string]",[t],arguments.length),void 0===t?(this[_t](),v(this,ct,"f").y18n.getLocale()):(O(this,G,!1,"f"),v(this,ct,"f").y18n.setLocale(t),this)}middleware(t,e,s){return v(this,B,"f").addMiddleware(t,!!e,s)}nargs(t,e){return h(" [number]",[t,e],arguments.length),this[At](this.nargs.bind(this),"narg",t,e),this}normalize(t){return h("",[t],arguments.length),this[Et]("normalize",t),this}number(t){return h("",[t],arguments.length),this[Et]("number",t),this[Zt](t),this}option(t,e){if(h(" [object]",[t,e],arguments.length),"object"==typeof t)Object.keys(t).forEach((e=>{this.options(e,t[e])}));else{"object"!=typeof e&&(e={}),this[Zt](t),!v(this,gt,"f")||"version"!==t&&"version"!==(null==e?void 0:e.alias)||this[Ot](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join("\n"),void 0,"versionWarning"),v(this,et,"f").key[t]=!0,e.alias&&this.alias(t,e.alias);const s=e.deprecate||e.deprecated;s&&this.deprecateOption(t,s);const i=e.demand||e.required||e.require;i&&this.demand(t,i),e.demandOption&&this.demandOption(t,"string"==typeof e.demandOption?e.demandOption:void 0),e.conflicts&&this.conflicts(t,e.conflicts),"default"in e&&this.default(t,e.default),void 0!==e.implies&&this.implies(t,e.implies),void 0!==e.nargs&&this.nargs(t,e.nargs),e.config&&this.config(t,e.configParser),e.normalize&&this.normalize(t),e.choices&&this.choices(t,e.choices),e.coerce&&this.coerce(t,e.coerce),e.group&&this.group(t,e.group),(e.boolean||"boolean"===e.type)&&(this.boolean(t),e.alias&&this.boolean(e.alias)),(e.array||"array"===e.type)&&(this.array(t),e.alias&&this.array(e.alias)),(e.number||"number"===e.type)&&(this.number(t),e.alias&&this.number(e.alias)),(e.string||"string"===e.type)&&(this.string(t),e.alias&&this.string(e.alias)),(e.count||"count"===e.type)&&this.count(t),"boolean"==typeof e.global&&this.global(t,e.global),e.defaultDescription&&(v(this,et,"f").defaultDescription[t]=e.defaultDescription),e.skipValidation&&this.skipValidation(t);const n=e.describe||e.description||e.desc;this.describe(t,n),e.hidden&&this.hide(t),e.requiresArg&&this.requiresArg(t)}return this}options(t,e){return this.option(t,e)}parse(t,e,s){h("[string|array] [function|boolean|object] [function]",[t,e,s],arguments.length),this[wt](),void 0===t&&(t=v(this,ht,"f")),"object"==typeof e&&(O(this,rt,e,"f"),e=s),"function"==typeof e&&(O(this,nt,e,"f"),e=!1),e||O(this,ht,t,"f"),v(this,nt,"f")&&O(this,T,!1,"f");const i=this[Bt](t,!!e),n=this.parsed;return v(this,F,"f").setParsed(this.parsed),f(i)?i.then((t=>(v(this,nt,"f")&&v(this,nt,"f").call(this,v(this,V,"f"),t,v(this,tt,"f")),t))).catch((t=>{throw v(this,nt,"f")&&v(this,nt,"f")(t,this.parsed.argv,v(this,tt,"f")),t})).finally((()=>{this[Dt](),this.parsed=n})):(v(this,nt,"f")&&v(this,nt,"f").call(this,v(this,V,"f"),i,v(this,tt,"f")),this[Dt](),this.parsed=n,i)}parseAsync(t,e,s){const i=this.parse(t,e,s);return f(i)?i:Promise.resolve(i)}parseSync(t,s,i){const n=this.parse(t,s,i);if(f(n))throw new e(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return n}parserConfiguration(t){return h("",[t],arguments.length),O(this,it,t,"f"),this}pkgConf(t,e){h(" [string]",[t,e],arguments.length);let s=null;const i=this[xt](e||v(this,q,"f"));return i[t]&&"object"==typeof i[t]&&(s=n(i[t],e||v(this,q,"f"),this[jt]()["deep-merge-config"]||!1,v(this,ct,"f")),v(this,et,"f").configObjects=(v(this,et,"f").configObjects||[]).concat(s)),this}positional(t,e){h(" ",[t,e],arguments.length);const s=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];e=g(e,((t,e)=>!("type"===t&&!["string","number","boolean"].includes(e))&&s.includes(t)));const i=v(this,W,"f").fullCommands[v(this,W,"f").fullCommands.length-1],n=i?v(this,z,"f").cmdToParseOptions(i):{array:[],alias:{},default:{},demand:{}};return p(n).forEach((s=>{const i=n[s];Array.isArray(i)?-1!==i.indexOf(t)&&(e[s]=!0):i[t]&&!(s in e)&&(e[s]=i[t])})),this.group(t,v(this,pt,"f").getPositionalGroupName()),this.option(t,e)}recommendCommands(t=!0){return h("[boolean]",[t],arguments.length),O(this,lt,t,"f"),this}required(t,e,s){return this.demand(t,e,s)}require(t,e,s){return this.demand(t,e,s)}requiresArg(t){return h(" [number]",[t],arguments.length),"string"==typeof t&&v(this,et,"f").narg[t]||this[At](this.requiresArg.bind(this),"narg",t,NaN),this}showCompletionScript(t,e){return h("[string] [string]",[t,e],arguments.length),t=t||this.$0,v(this,Q,"f").log(v(this,F,"f").generateCompletionScript(t,e||v(this,U,"f")||"completion")),this}showHelp(t){if(h("[string|function]",[t],arguments.length),O(this,J,!0,"f"),!v(this,pt,"f").hasCachedHelpMessage()){if(!this.parsed){const e=this[Bt](v(this,ht,"f"),void 0,void 0,0,!0);if(f(e))return e.then((()=>{v(this,pt,"f").showHelp(t)})),this}const e=v(this,z,"f").runDefaultBuilderOn(this);if(f(e))return e.then((()=>{v(this,pt,"f").showHelp(t)})),this}return v(this,pt,"f").showHelp(t),this}scriptName(t){return this.customScriptName=!0,this.$0=t,this}showHelpOnFail(t,e){return h("[boolean|string] [string]",[t,e],arguments.length),v(this,pt,"f").showHelpOnFail(t,e),this}showVersion(t){return h("[string|function]",[t],arguments.length),v(this,pt,"f").showVersion(t),this}skipValidation(t){return h("",[t],arguments.length),this[Et]("skipValidation",t),this}strict(t){return h("[boolean]",[t],arguments.length),O(this,ft,!1!==t,"f"),this}strictCommands(t){return h("[boolean]",[t],arguments.length),O(this,dt,!1!==t,"f"),this}strictOptions(t){return h("[boolean]",[t],arguments.length),O(this,ut,!1!==t,"f"),this}string(t){return h("",[t],arguments.length),this[Et]("string",t),this[Zt](t),this}terminalWidth(){return h([],0),v(this,ct,"f").process.stdColumns}updateLocale(t){return this.updateStrings(t)}updateStrings(t){return h("",[t],arguments.length),O(this,G,!1,"f"),v(this,ct,"f").y18n.updateLocale(t),this}usage(t,s,i,n){if(h(" [string|boolean] [function|object] [function]",[t,s,i,n],arguments.length),void 0!==s){if(d(t,null,v(this,ct,"f")),(t||"").match(/^\$0( |$)/))return this.command(t,s,i,n);throw new e(".usage() description must start with $0 if being used as alias for .command()")}return v(this,pt,"f").usage(t),this}version(t,e,s){const i="version";if(h("[boolean|string] [string] [string]",[t,e,s],arguments.length),v(this,gt,"f")&&(this[vt](v(this,gt,"f")),v(this,pt,"f").version(void 0),O(this,gt,null,"f")),0===arguments.length)s=this[Mt](),t=i;else if(1===arguments.length){if(!1===t)return this;s=t,t=i}else 2===arguments.length&&(s=e,e=void 0);return O(this,gt,"string"==typeof t?t:i,"f"),e=e||v(this,pt,"f").deferY18nLookup("Show version number"),v(this,pt,"f").version(s||void 0),this.boolean(v(this,gt,"f")),this.describe(v(this,gt,"f"),e),this}wrap(t){return h("",[t],arguments.length),v(this,pt,"f").wrap(t),this}[(z=new WeakMap,q=new WeakMap,W=new WeakMap,F=new WeakMap,U=new WeakMap,L=new WeakMap,V=new WeakMap,G=new WeakMap,R=new WeakMap,T=new WeakMap,K=new WeakMap,B=new WeakMap,Y=new WeakMap,J=new WeakMap,Z=new WeakMap,X=new WeakMap,Q=new WeakMap,tt=new WeakMap,et=new WeakMap,st=new WeakMap,it=new WeakMap,nt=new WeakMap,rt=new WeakMap,ot=new WeakMap,at=new WeakMap,ht=new WeakMap,lt=new WeakMap,ct=new WeakMap,ft=new WeakMap,dt=new WeakMap,ut=new WeakMap,pt=new WeakMap,gt=new WeakMap,mt=new WeakMap,yt)](t){if(!t._||!t["--"])return t;t._.push.apply(t._,t["--"]);try{delete t["--"]}catch(t){}return t}[bt](){return{log:(...t)=>{this[Vt]()||console.log(...t),O(this,J,!0,"f"),v(this,tt,"f").length&&O(this,tt,v(this,tt,"f")+"\n","f"),O(this,tt,v(this,tt,"f")+t.join(" "),"f")},error:(...t)=>{this[Vt]()||console.error(...t),O(this,J,!0,"f"),v(this,tt,"f").length&&O(this,tt,v(this,tt,"f")+"\n","f"),O(this,tt,v(this,tt,"f")+t.join(" "),"f")}}}[vt](t){p(v(this,et,"f")).forEach((e=>{if("configObjects"===e)return;const s=v(this,et,"f")[e];Array.isArray(s)?s.includes(t)&&s.splice(s.indexOf(t),1):"object"==typeof s&&delete s[t]})),delete v(this,pt,"f").getDescriptions()[t]}[Ot](t,e,s){v(this,R,"f")[s]||(v(this,ct,"f").process.emitWarning(t,e),v(this,R,"f")[s]=!0)}[wt](){v(this,K,"f").push({options:v(this,et,"f"),configObjects:v(this,et,"f").configObjects.slice(0),exitProcess:v(this,T,"f"),groups:v(this,Y,"f"),strict:v(this,ft,"f"),strictCommands:v(this,dt,"f"),strictOptions:v(this,ut,"f"),completionCommand:v(this,U,"f"),output:v(this,tt,"f"),exitError:v(this,V,"f"),hasOutput:v(this,J,"f"),parsed:this.parsed,parseFn:v(this,nt,"f"),parseContext:v(this,rt,"f")}),v(this,pt,"f").freeze(),v(this,mt,"f").freeze(),v(this,z,"f").freeze(),v(this,B,"f").freeze()}[Ct](){let t,e="";return t=/\b(node|iojs|electron)(\.exe)?$/.test(v(this,ct,"f").process.argv()[0])?v(this,ct,"f").process.argv().slice(1,2):v(this,ct,"f").process.argv().slice(0,1),e=t.map((t=>{const e=this[Tt](v(this,q,"f"),t);return t.match(/^(\/|([a-zA-Z]:)?\\)/)&&e.lengthe.includes("package.json")?"package.json":void 0));d(i,void 0,v(this,ct,"f")),s=JSON.parse(v(this,ct,"f").readFileSync(i,"utf8"))}catch(t){}return v(this,ot,"f")[e]=s||{},v(this,ot,"f")[e]}[Et](t,e){(e=[].concat(e)).forEach((e=>{e=this[$t](e),v(this,et,"f")[t].push(e)}))}[At](t,e,s,i){this[St](t,e,s,i,((t,e,s)=>{v(this,et,"f")[t][e]=s}))}[Pt](t,e,s,i){this[St](t,e,s,i,((t,e,s)=>{v(this,et,"f")[t][e]=(v(this,et,"f")[t][e]||[]).concat(s)}))}[St](t,e,s,i,n){if(Array.isArray(s))s.forEach((e=>{t(e,i)}));else if((t=>"object"==typeof t)(s))for(const e of p(s))t(e,s[e]);else n(e,this[$t](s),i)}[$t](t){return"__proto__"===t?"___proto___":t}[It](t,e){return this[At](this[It].bind(this),"key",t,e),this}[Dt](){var t,e,s,i,n,r,o,a,h,l,c,f;const u=v(this,K,"f").pop();let p;d(u,void 0,v(this,ct,"f")),t=this,e=this,s=this,i=this,n=this,r=this,o=this,a=this,h=this,l=this,c=this,f=this,({options:{set value(e){O(t,et,e,"f")}}.value,configObjects:p,exitProcess:{set value(t){O(e,T,t,"f")}}.value,groups:{set value(t){O(s,Y,t,"f")}}.value,output:{set value(t){O(i,tt,t,"f")}}.value,exitError:{set value(t){O(n,V,t,"f")}}.value,hasOutput:{set value(t){O(r,J,t,"f")}}.value,parsed:this.parsed,strict:{set value(t){O(o,ft,t,"f")}}.value,strictCommands:{set value(t){O(a,dt,t,"f")}}.value,strictOptions:{set value(t){O(h,ut,t,"f")}}.value,completionCommand:{set value(t){O(l,U,t,"f")}}.value,parseFn:{set value(t){O(c,nt,t,"f")}}.value,parseContext:{set value(t){O(f,rt,t,"f")}}.value}=u),v(this,et,"f").configObjects=p,v(this,pt,"f").unfreeze(),v(this,mt,"f").unfreeze(),v(this,z,"f").unfreeze(),v(this,B,"f").unfreeze()}[Nt](t,e){return j(e,(e=>(t(e),e)))}getInternalMethods(){return{getCommandInstance:this[Ht].bind(this),getContext:this[zt].bind(this),getHasOutput:this[qt].bind(this),getLoggerInstance:this[Wt].bind(this),getParseContext:this[Ft].bind(this),getParserConfiguration:this[jt].bind(this),getUsageInstance:this[Ut].bind(this),getValidationInstance:this[Lt].bind(this),hasParseCallback:this[Vt].bind(this),isGlobalContext:this[Gt].bind(this),postProcess:this[Rt].bind(this),reset:this[Kt].bind(this),runValidation:this[Yt].bind(this),runYargsParserAndExecuteCommands:this[Bt].bind(this),setHasOutput:this[Jt].bind(this)}}[Ht](){return v(this,z,"f")}[zt](){return v(this,W,"f")}[qt](){return v(this,J,"f")}[Wt](){return v(this,Q,"f")}[Ft](){return v(this,rt,"f")||{}}[Ut](){return v(this,pt,"f")}[Lt](){return v(this,mt,"f")}[Vt](){return!!v(this,nt,"f")}[Gt](){return v(this,X,"f")}[Rt](t,e,s,i){if(s)return t;if(f(t))return t;e||(t=this[yt](t));return(this[jt]()["parse-positional-numbers"]||void 0===this[jt]()["parse-positional-numbers"])&&(t=this[kt](t)),i&&(t=C(t,this,v(this,B,"f").getMiddleware(),!1)),t}[Kt](t={}){O(this,et,v(this,et,"f")||{},"f");const e={};e.local=v(this,et,"f").local||[],e.configObjects=v(this,et,"f").configObjects||[];const s={};e.local.forEach((e=>{s[e]=!0,(t[e]||[]).forEach((t=>{s[t]=!0}))})),Object.assign(v(this,at,"f"),Object.keys(v(this,Y,"f")).reduce(((t,e)=>{const i=v(this,Y,"f")[e].filter((t=>!(t in s)));return i.length>0&&(t[e]=i),t}),{})),O(this,Y,{},"f");return["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"].forEach((t=>{e[t]=(v(this,et,"f")[t]||[]).filter((t=>!s[t]))})),["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"].forEach((t=>{e[t]=g(v(this,et,"f")[t],(t=>!s[t]))})),e.envPrefix=v(this,et,"f").envPrefix,O(this,et,e,"f"),O(this,pt,v(this,pt,"f")?v(this,pt,"f").reset(s):P(this,v(this,ct,"f")),"f"),O(this,mt,v(this,mt,"f")?v(this,mt,"f").reset(s):function(t,e,s){const i=s.y18n.__,n=s.y18n.__n,r={nonOptionCount:function(s){const i=t.getDemandedCommands(),r=s._.length+(s["--"]?s["--"].length:0)-t.getInternalMethods().getContext().commands.length;i._&&(ri._.max)&&(ri._.max&&(void 0!==i._.maxMsg?e.fail(i._.maxMsg?i._.maxMsg.replace(/\$0/g,r.toString()).replace(/\$1/,i._.max.toString()):null):e.fail(n("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",r,r.toString(),i._.max.toString()))))},positionalCount:function(t,s){s{H.includes(e)||Object.prototype.hasOwnProperty.call(o,e)||Object.prototype.hasOwnProperty.call(t.getInternalMethods().getParseContext(),e)||r.isValidAndSomeAliasIsNotNew(e,i)||f.push(e)})),h&&(d.commands.length>0||c.length>0||a)&&s._.slice(d.commands.length).forEach((t=>{c.includes(""+t)||f.push(""+t)})),h){const e=(null===(l=t.getDemandedCommands()._)||void 0===l?void 0:l.max)||0,i=d.commands.length+e;i{t=String(t),d.commands.includes(t)||f.includes(t)||f.push(t)}))}f.length&&e.fail(n("Unknown argument: %s","Unknown arguments: %s",f.length,f.map((t=>t.trim()?t:`"${t}"`)).join(", ")))},unknownCommands:function(s){const i=t.getInternalMethods().getCommandInstance().getCommands(),r=[],o=t.getInternalMethods().getContext();return(o.commands.length>0||i.length>0)&&s._.slice(o.commands.length).forEach((t=>{i.includes(""+t)||r.push(""+t)})),r.length>0&&(e.fail(n("Unknown command: %s","Unknown commands: %s",r.length,r.join(", "))),!0)},isValidAndSomeAliasIsNotNew:function(e,s){if(!Object.prototype.hasOwnProperty.call(s,e))return!1;const i=t.parsed.newAliases;return[e,...s[e]].some((t=>!Object.prototype.hasOwnProperty.call(i,t)||!i[e]))},limitedChoices:function(s){const n=t.getOptions(),r={};if(!Object.keys(n.choices).length)return;Object.keys(s).forEach((t=>{-1===H.indexOf(t)&&Object.prototype.hasOwnProperty.call(n.choices,t)&&[].concat(s[t]).forEach((e=>{-1===n.choices[t].indexOf(e)&&void 0!==e&&(r[t]=(r[t]||[]).concat(e))}))}));const o=Object.keys(r);if(!o.length)return;let a=i("Invalid values:");o.forEach((t=>{a+=`\n ${i("Argument: %s, Given: %s, Choices: %s",t,e.stringifiedValues(r[t]),e.stringifiedValues(n.choices[t]))}`})),e.fail(a)}};let o={};function a(t,e){const s=Number(e);return"number"==typeof(e=isNaN(s)?e:s)?e=t._.length>=e:e.match(/^--no-.+/)?(e=e.match(/^--no-(.+)/)[1],e=!Object.prototype.hasOwnProperty.call(t,e)):e=Object.prototype.hasOwnProperty.call(t,e),e}r.implies=function(e,i){h(" [array|number|string]",[e,i],arguments.length),"object"==typeof e?Object.keys(e).forEach((t=>{r.implies(t,e[t])})):(t.global(e),o[e]||(o[e]=[]),Array.isArray(i)?i.forEach((t=>r.implies(e,t))):(d(i,void 0,s),o[e].push(i)))},r.getImplied=function(){return o},r.implications=function(t){const s=[];if(Object.keys(o).forEach((e=>{const i=e;(o[e]||[]).forEach((e=>{let n=i;const r=e;n=a(t,n),e=a(t,e),n&&!e&&s.push(` ${i} -> ${r}`)}))})),s.length){let t=`${i("Implications failed:")}\n`;s.forEach((e=>{t+=e})),e.fail(t)}};let l={};r.conflicts=function(e,s){h(" [array|string]",[e,s],arguments.length),"object"==typeof e?Object.keys(e).forEach((t=>{r.conflicts(t,e[t])})):(t.global(e),l[e]||(l[e]=[]),Array.isArray(s)?s.forEach((t=>r.conflicts(e,t))):l[e].push(s))},r.getConflicting=()=>l,r.conflicting=function(n){Object.keys(n).forEach((t=>{l[t]&&l[t].forEach((s=>{s&&void 0!==n[t]&&void 0!==n[s]&&e.fail(i("Arguments %s and %s are mutually exclusive",t,s))}))})),t.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(l).forEach((t=>{l[t].forEach((r=>{r&&void 0!==n[s.Parser.camelCase(t)]&&void 0!==n[s.Parser.camelCase(r)]&&e.fail(i("Arguments %s and %s are mutually exclusive",t,r))}))}))},r.recommendCommands=function(t,s){s=s.sort(((t,e)=>e.length-t.length));let n=null,r=1/0;for(let e,i=0;void 0!==(e=s[i]);i++){const s=N(t,e);s<=3&&s!t[e])),l=g(l,(e=>!t[e])),r};const c=[];return r.freeze=function(){c.push({implied:o,conflicting:l})},r.unfreeze=function(){const t=c.pop();d(t,void 0,s),({implied:o,conflicting:l}=t)},r}(this,v(this,pt,"f"),v(this,ct,"f")),"f"),O(this,z,v(this,z,"f")?v(this,z,"f").reset():function(t,e,s,i){return new M(t,e,s,i)}(v(this,pt,"f"),v(this,mt,"f"),v(this,B,"f"),v(this,ct,"f")),"f"),v(this,F,"f")||O(this,F,function(t,e,s,i){return new D(t,e,s,i)}(this,v(this,pt,"f"),v(this,z,"f"),v(this,ct,"f")),"f"),v(this,B,"f").reset(),O(this,U,null,"f"),O(this,tt,"","f"),O(this,V,null,"f"),O(this,J,!1,"f"),this.parsed=!1,this}[Tt](t,e){return v(this,ct,"f").path.relative(t,e)}[Bt](t,s,i,n=0,r=!1){let o=!!i||r;t=t||v(this,ht,"f"),v(this,et,"f").__=v(this,ct,"f").y18n.__,v(this,et,"f").configuration=this[jt]();const a=!!v(this,et,"f").configuration["populate--"],h=Object.assign({},v(this,et,"f").configuration,{"populate--":!0}),l=v(this,ct,"f").Parser.detailed(t,Object.assign({},v(this,et,"f"),{configuration:{"parse-positional-numbers":!1,...h}})),c=Object.assign(l.argv,v(this,rt,"f"));let d;const u=l.aliases;let p=!1,g=!1;Object.keys(c).forEach((t=>{t===v(this,Z,"f")&&c[t]?p=!0:t===v(this,gt,"f")&&c[t]&&(g=!0)})),c.$0=this.$0,this.parsed=l,0===n&&v(this,pt,"f").clearCachedHelpMessage();try{if(this[_t](),s)return this[Rt](c,a,!!i,!1);if(v(this,Z,"f")){[v(this,Z,"f")].concat(u[v(this,Z,"f")]||[]).filter((t=>t.length>1)).includes(""+c._[c._.length-1])&&(c._.pop(),p=!0)}O(this,X,!1,"f");const h=v(this,z,"f").getCommands(),m=v(this,F,"f").completionKey in c,y=p||m||r;if(c._.length){if(h.length){let t;for(let e,s=n||0;void 0!==c._[s];s++){if(e=String(c._[s]),h.includes(e)&&e!==v(this,U,"f")){const t=v(this,z,"f").runCommand(e,this,l,s+1,r,p||g||r);return this[Rt](t,a,!!i,!1)}if(!t&&e!==v(this,U,"f")){t=e;break}}!v(this,z,"f").hasDefaultCommand()&&v(this,lt,"f")&&t&&!y&&v(this,mt,"f").recommendCommands(t,h)}v(this,U,"f")&&c._.includes(v(this,U,"f"))&&!m&&(v(this,T,"f")&&E(!0),this.showCompletionScript(),this.exit(0))}if(v(this,z,"f").hasDefaultCommand()&&!y){const t=v(this,z,"f").runCommand(null,this,l,0,r,p||g||r);return this[Rt](t,a,!!i,!1)}if(m){v(this,T,"f")&&E(!0);const s=(t=[].concat(t)).slice(t.indexOf(`--${v(this,F,"f").completionKey}`)+1);return v(this,F,"f").getCompletion(s,((t,s)=>{if(t)throw new e(t.message);(s||[]).forEach((t=>{v(this,Q,"f").log(t)})),this.exit(0)})),this[Rt](c,!a,!!i,!1)}if(v(this,J,"f")||(p?(v(this,T,"f")&&E(!0),o=!0,this.showHelp("log"),this.exit(0)):g&&(v(this,T,"f")&&E(!0),o=!0,v(this,pt,"f").showVersion("log"),this.exit(0))),!o&&v(this,et,"f").skipValidation.length>0&&(o=Object.keys(c).some((t=>v(this,et,"f").skipValidation.indexOf(t)>=0&&!0===c[t]))),!o){if(l.error)throw new e(l.error.message);if(!m){const t=this[Yt](u,{},l.error);i||(d=C(c,this,v(this,B,"f").getMiddleware(),!0)),d=this[Nt](t,null!=d?d:c),f(d)&&!i&&(d=d.then((()=>C(c,this,v(this,B,"f").getMiddleware(),!1))))}}}catch(t){if(!(t instanceof e))throw t;v(this,pt,"f").fail(t.message,t)}return this[Rt](null!=d?d:c,a,!!i,!0)}[Yt](t,s,i,n){const r={...this.getDemandedOptions()};return o=>{if(i)throw new e(i.message);v(this,mt,"f").nonOptionCount(o),v(this,mt,"f").requiredArguments(o,r);let a=!1;v(this,dt,"f")&&(a=v(this,mt,"f").unknownCommands(o)),v(this,ft,"f")&&!a?v(this,mt,"f").unknownArguments(o,t,s,!!n):v(this,ut,"f")&&v(this,mt,"f").unknownArguments(o,t,{},!1,!1),v(this,mt,"f").limitedChoices(o),v(this,mt,"f").implications(o),v(this,mt,"f").conflicting(o)}}[Jt](){O(this,J,!0,"f")}[Zt](t){if("string"==typeof t)v(this,et,"f").key[t]=!0;else for(const e of t)v(this,et,"f").key[e]=!0}}var Qt,te;const{readFileSync:ee}=require("fs"),{inspect:se}=require("util"),{resolve:ie}=require("path"),ne=require("y18n"),re=require("yargs-parser");var oe,ae={assert:{notStrictEqual:t.notStrictEqual,strictEqual:t.strictEqual},cliui:require("cliui"),findUp:require("escalade/sync"),getEnv:t=>process.env[t],getCallerFile:require("get-caller-file"),getProcessArgvBin:y,inspect:se,mainFilename:null!==(te=null===(Qt=null===require||void 0===require?void 0:require.main)||void 0===Qt?void 0:Qt.filename)&&void 0!==te?te:process.cwd(),Parser:re,path:require("path"),process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(t,e)=>process.emitWarning(t,e),execPath:()=>process.execPath,exit:t=>{process.exit(t)},nextTick:process.nextTick,stdColumns:void 0!==process.stdout.columns?process.stdout.columns:null},readFileSync:ee,require:require,requireDirectory:require("require-directory"),stringWidth:require("string-width"),y18n:ne({directory:ie(__dirname,"../locales"),updateFiles:!1})};const he=(null===(oe=null===process||void 0===process?void 0:process.env)||void 0===oe?void 0:oe.YARGS_MIN_NODE_VERSION)?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version){if(Number(process.version.match(/v([^.]+)/)[1]){const i=new Xt(t,e,s,ce);return Object.defineProperty(i,"argv",{get:()=>i.parse(),enumerable:!0}),i.help(),i.version(),i}),argsert:h,isPromise:f,objFilter:g,parseCommand:o,Parser:le,processArgv:b,YError:e};module.exports=fe; diff --git a/node_modules/yargs/build/lib/command.js b/node_modules/yargs/build/lib/command.js index 912a020d4f..89b150c377 100644 --- a/node_modules/yargs/build/lib/command.js +++ b/node_modules/yargs/build/lib/command.js @@ -149,7 +149,7 @@ export class CommandInstance { } parseAndUpdateUsage(isDefaultCommand, commandHandler, innerYargs, parentCommands, commandIndex, helpOnly) { if (isDefaultCommand) - innerYargs.getInternalMethods().getUsageInstance().unfreeze(); + innerYargs.getInternalMethods().getUsageInstance().unfreeze(true); if (this.shouldUpdateUsage(innerYargs)) { innerYargs .getInternalMethods() @@ -183,18 +183,7 @@ export class CommandInstance { pc.push(c); return `$0 ${pc.join(' ')}`; } - applyMiddlewareAndGetResult(isDefaultCommand, commandHandler, innerArgv, currentContext, helpOnly, aliases, yargs) { - let positionalMap = {}; - if (helpOnly) - return innerArgv; - if (!yargs.getInternalMethods().getHasOutput()) { - positionalMap = this.populatePositionals(commandHandler, innerArgv, currentContext, yargs); - } - const middlewares = this.globalMiddleware - .getMiddleware() - .slice(0) - .concat(commandHandler.middlewares); - innerArgv = applyMiddleware(innerArgv, yargs, middlewares, true); + handleValidationAndGetResult(isDefaultCommand, commandHandler, innerArgv, currentContext, aliases, yargs, middlewares, positionalMap) { if (!yargs.getInternalMethods().getHasOutput()) { const validation = yargs .getInternalMethods() @@ -237,6 +226,22 @@ export class CommandInstance { } return innerArgv; } + applyMiddlewareAndGetResult(isDefaultCommand, commandHandler, innerArgv, currentContext, helpOnly, aliases, yargs) { + let positionalMap = {}; + if (helpOnly) + return innerArgv; + if (!yargs.getInternalMethods().getHasOutput()) { + positionalMap = this.populatePositionals(commandHandler, innerArgv, currentContext, yargs); + } + const middlewares = this.globalMiddleware + .getMiddleware() + .slice(0) + .concat(commandHandler.middlewares); + const maybePromiseArgv = applyMiddleware(innerArgv, yargs, middlewares, true); + return isPromise(maybePromiseArgv) + ? maybePromiseArgv.then(resolvedInnerArgv => this.handleValidationAndGetResult(isDefaultCommand, commandHandler, resolvedInnerArgv, currentContext, aliases, yargs, middlewares, positionalMap)) + : this.handleValidationAndGetResult(isDefaultCommand, commandHandler, maybePromiseArgv, currentContext, aliases, yargs, middlewares, positionalMap); + } populatePositionals(commandHandler, argv, context, yargs) { argv._ = argv._.slice(context.commands.length); const demanded = commandHandler.demanded.slice(0); @@ -328,12 +333,12 @@ export class CommandInstance { Object.keys(positionalMap).forEach(key => { positionalKeys.push(...parsed.aliases[key]); }); - const defaults = yargs.getOptions().default; Object.keys(parsed.argv).forEach(key => { if (positionalKeys.includes(key)) { if (!positionalMap[key]) positionalMap[key] = parsed.argv[key]; - if (!Object.prototype.hasOwnProperty.call(defaults, key) && + if (!this.isInConfigs(yargs, key) && + !this.isDefaulted(yargs, key) && Object.prototype.hasOwnProperty.call(argv, key) && Object.prototype.hasOwnProperty.call(parsed.argv, key) && (Array.isArray(argv[key]) || Array.isArray(parsed.argv[key]))) { @@ -346,6 +351,16 @@ export class CommandInstance { }); } } + isDefaulted(yargs, key) { + const { default: defaults } = yargs.getOptions(); + return (Object.prototype.hasOwnProperty.call(defaults, key) || + Object.prototype.hasOwnProperty.call(defaults, this.shim.Parser.camelCase(key))); + } + isInConfigs(yargs, key) { + const { configObjects } = yargs.getOptions(); + return (configObjects.some(c => Object.prototype.hasOwnProperty.call(c, key)) || + configObjects.some(c => Object.prototype.hasOwnProperty.call(c, this.shim.Parser.camelCase(key)))); + } runDefaultBuilderOn(yargs) { if (!this.defaultCommand) return; diff --git a/node_modules/yargs/build/lib/completion-templates.js b/node_modules/yargs/build/lib/completion-templates.js index 4bd930c365..2c4dcb580d 100644 --- a/node_modules/yargs/build/lib/completion-templates.js +++ b/node_modules/yargs/build/lib/completion-templates.js @@ -33,7 +33,7 @@ export const completionZshTemplate = `#compdef {{app_name}} # yargs command completion script # # Installation: {{app_path}} {{completion_command}} >> ~/.zshrc -# or {{app_path}} {{completion_command}} >> ~/.zsh_profile on OSX. +# or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX. # _{{app_name}}_yargs_completions() { diff --git a/node_modules/yargs/build/lib/completion.js b/node_modules/yargs/build/lib/completion.js index e54a9754f6..1c592127f7 100644 --- a/node_modules/yargs/build/lib/completion.js +++ b/node_modules/yargs/build/lib/completion.js @@ -13,6 +13,7 @@ export class Completion { this.completionKey = 'get-yargs-completions'; this.aliases = null; this.customCompletionFunction = null; + this.indexAfterLastReset = 0; this.zshShell = (_c = (((_a = this.shim.getEnv('SHELL')) === null || _a === void 0 ? void 0 : _a.includes('zsh')) || ((_b = this.shim.getEnv('ZSH_NAME')) === null || _b === void 0 ? void 0 : _b.includes('zsh')))) !== null && _c !== void 0 ? _c : false; @@ -23,6 +24,7 @@ export class Completion { if (handlers[args[i]] && handlers[args[i]].builder) { const builder = handlers[args[i]].builder; if (isCommandBuilderCallback(builder)) { + this.indexAfterLastReset = i + 1; const y = this.yargs.getInternalMethods().reset(); builder(y, true); return y.argv; @@ -32,7 +34,8 @@ export class Completion { const completions = []; this.commandCompletions(completions, args, current); this.optionCompletions(completions, args, argv, current); - this.choicesCompletions(completions, args, argv, current); + this.choicesFromOptionsCompletions(completions, args, argv, current); + this.choicesFromPositionalsCompletions(completions, args, argv, current); done(null, completions); } commandCompletions(completions, args, current) { @@ -66,7 +69,8 @@ export class Completion { options.boolean.includes(key); const isPositionalKey = positionalKeys.includes(key); if (!isPositionalKey && - !this.argsContainKey(args, argv, key, negable)) { + !options.hiddenOptions.includes(key) && + !this.argsContainKey(args, key, negable)) { this.completeOptionKey(key, completions, current); if (negable && !!options.default[key]) this.completeOptionKey(`no-${key}`, completions, current); @@ -74,11 +78,31 @@ export class Completion { }); } } - choicesCompletions(completions, args, argv, current) { + choicesFromOptionsCompletions(completions, args, argv, current) { if (this.previousArgHasChoices(args)) { const choices = this.getPreviousArgChoices(args); if (choices && choices.length > 0) { - completions.push(...choices); + completions.push(...choices.map(c => c.replace(/:/g, '\\:'))); + } + } + } + choicesFromPositionalsCompletions(completions, args, argv, current) { + if (current === '' && + completions.length > 0 && + this.previousArgHasChoices(args)) { + return; + } + const positionalKeys = this.yargs.getGroups()[this.usage.getPositionalGroupName()] || []; + const offset = Math.max(this.indexAfterLastReset, this.yargs.getInternalMethods().getContext().commands.length + + 1); + const positionalKey = positionalKeys[argv._.length - offset - 1]; + if (!positionalKey) { + return; + } + const choices = this.yargs.getOptions().choices[positionalKey] || []; + for (const choice of choices) { + if (choice.startsWith(current)) { + completions.push(choice.replace(/:/g, '\\:')); } } } @@ -87,31 +111,43 @@ export class Completion { return; let previousArg = args[args.length - 1]; let filter = ''; - if (!previousArg.startsWith('--') && args.length > 1) { + if (!previousArg.startsWith('-') && args.length > 1) { filter = previousArg; previousArg = args[args.length - 2]; } - if (!previousArg.startsWith('--')) + if (!previousArg.startsWith('-')) return; - const previousArgKey = previousArg.replace(/-/g, ''); + const previousArgKey = previousArg.replace(/^-+/, ''); const options = this.yargs.getOptions(); - if (Object.keys(options.key).some(key => key === previousArgKey) && - Array.isArray(options.choices[previousArgKey])) { - return options.choices[previousArgKey].filter(choice => !filter || choice.startsWith(filter)); + const possibleAliases = [ + previousArgKey, + ...(this.yargs.getAliases()[previousArgKey] || []), + ]; + let choices; + for (const possibleAlias of possibleAliases) { + if (Object.prototype.hasOwnProperty.call(options.key, possibleAlias) && + Array.isArray(options.choices[possibleAlias])) { + choices = options.choices[possibleAlias]; + break; + } + } + if (choices) { + return choices.filter(choice => !filter || choice.startsWith(filter)); } } previousArgHasChoices(args) { const choices = this.getPreviousArgChoices(args); return choices !== undefined && choices.length > 0; } - argsContainKey(args, argv, key, negable) { - if (args.indexOf(`--${key}`) !== -1) + argsContainKey(args, key, negable) { + const argsContains = (s) => args.indexOf((/^[^0-9]$/.test(s) ? '-' : '--') + s) !== -1; + if (argsContains(key)) return true; - if (negable && args.indexOf(`--no-${key}`) !== -1) + if (negable && argsContains(`no-${key}`)) return true; if (this.aliases) { for (const alias of this.aliases[key]) { - if (argv[alias] !== undefined) + if (argsContains(alias)) return true; } } diff --git a/node_modules/yargs/build/lib/usage.js b/node_modules/yargs/build/lib/usage.js index 2a2aeb072a..f47256ddf6 100644 --- a/node_modules/yargs/build/lib/usage.js +++ b/node_modules/yargs/build/lib/usage.js @@ -12,12 +12,13 @@ export function usage(yargs, shim) { fails.push(f); }; let failMessage = null; + let globalFailMessage = null; let showHelpOnFail = true; self.showHelpOnFail = function showHelpOnFailFn(arg1 = true, arg2) { - function parseFunctionArgs() { - return typeof arg1 === 'string' ? [true, arg1] : [arg1, arg2]; + const [enabled, message] = typeof arg1 === 'string' ? [true, arg1] : [arg1, arg2]; + if (yargs.getInternalMethods().isGlobalContext()) { + globalFailMessage = message; } - const [enabled, message] = parseFunctionArgs(); failMessage = message; showHelpOnFail = enabled; return self; @@ -50,10 +51,11 @@ export function usage(yargs, shim) { } if (msg || err) logger.error(msg || err); - if (failMessage) { + const globalOrCommandFailMessage = failMessage || globalFailMessage; + if (globalOrCommandFailMessage) { if (msg || err) logger.error(''); - logger.error(failMessage); + logger.error(globalOrCommandFailMessage); } } err = err || new YError(msg); @@ -535,20 +537,29 @@ export function usage(yargs, shim) { descriptions, }); }; - self.unfreeze = function unfreeze() { + self.unfreeze = function unfreeze(defaultCommand = false) { const frozen = frozens.pop(); if (!frozen) return; - ({ - failMessage, - failureOutput, - usages, - usageDisabled, - epilogs, - examples, - commands, - descriptions, - } = frozen); + if (defaultCommand) { + descriptions = { ...frozen.descriptions, ...descriptions }; + commands = [...frozen.commands, ...commands]; + usages = [...frozen.usages, ...usages]; + examples = [...frozen.examples, ...examples]; + epilogs = [...frozen.epilogs, ...epilogs]; + } + else { + ({ + failMessage, + failureOutput, + usages, + usageDisabled, + epilogs, + examples, + commands, + descriptions, + } = frozen); + } }; return self; } diff --git a/node_modules/yargs/build/lib/validation.js b/node_modules/yargs/build/lib/validation.js index c6f0ab01be..bd2e1b8b1a 100644 --- a/node_modules/yargs/build/lib/validation.js +++ b/node_modules/yargs/build/lib/validation.js @@ -106,7 +106,7 @@ export function validation(yargs, usage, shim) { } } if (unknown.length) { - usage.fail(__n('Unknown argument: %s', 'Unknown arguments: %s', unknown.length, unknown.join(', '))); + usage.fail(__n('Unknown argument: %s', 'Unknown arguments: %s', unknown.length, unknown.map(s => (s.trim() ? s : `"${s}"`)).join(', '))); } }; self.unknownCommands = function unknownCommands(argv) { diff --git a/node_modules/yargs/build/lib/yargs-factory.js b/node_modules/yargs/build/lib/yargs-factory.js index f4e63e2bbb..40a2921cc5 100644 --- a/node_modules/yargs/build/lib/yargs-factory.js +++ b/node_modules/yargs/build/lib/yargs-factory.js @@ -9,7 +9,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function ( if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); }; -var _YargsInstance_command, _YargsInstance_cwd, _YargsInstance_context, _YargsInstance_completion, _YargsInstance_completionCommand, _YargsInstance_defaultShowHiddenOpt, _YargsInstance_exitError, _YargsInstance_detectLocale, _YargsInstance_emittedWarnings, _YargsInstance_exitProcess, _YargsInstance_frozens, _YargsInstance_globalMiddleware, _YargsInstance_groups, _YargsInstance_hasOutput, _YargsInstance_helpOpt, _YargsInstance_logger, _YargsInstance_output, _YargsInstance_options, _YargsInstance_parentRequire, _YargsInstance_parserConfig, _YargsInstance_parseFn, _YargsInstance_parseContext, _YargsInstance_pkgs, _YargsInstance_preservedGroups, _YargsInstance_processArgs, _YargsInstance_recommendCommands, _YargsInstance_shim, _YargsInstance_strict, _YargsInstance_strictCommands, _YargsInstance_strictOptions, _YargsInstance_usage, _YargsInstance_versionOpt, _YargsInstance_validation; +var _YargsInstance_command, _YargsInstance_cwd, _YargsInstance_context, _YargsInstance_completion, _YargsInstance_completionCommand, _YargsInstance_defaultShowHiddenOpt, _YargsInstance_exitError, _YargsInstance_detectLocale, _YargsInstance_emittedWarnings, _YargsInstance_exitProcess, _YargsInstance_frozens, _YargsInstance_globalMiddleware, _YargsInstance_groups, _YargsInstance_hasOutput, _YargsInstance_helpOpt, _YargsInstance_isGlobalContext, _YargsInstance_logger, _YargsInstance_output, _YargsInstance_options, _YargsInstance_parentRequire, _YargsInstance_parserConfig, _YargsInstance_parseFn, _YargsInstance_parseContext, _YargsInstance_pkgs, _YargsInstance_preservedGroups, _YargsInstance_processArgs, _YargsInstance_recommendCommands, _YargsInstance_shim, _YargsInstance_strict, _YargsInstance_strictCommands, _YargsInstance_strictOptions, _YargsInstance_usage, _YargsInstance_versionOpt, _YargsInstance_validation; import { command as Command, } from './command.js'; import { assertNotStrictEqual, assertSingleKey, objectKeys, } from './typings/common-types.js'; import { YError } from './yerror.js'; @@ -64,6 +64,7 @@ const kGetParseContext = Symbol('getParseContext'); const kGetUsageInstance = Symbol('getUsageInstance'); const kGetValidationInstance = Symbol('getValidationInstance'); const kHasParseCallback = Symbol('hasParseCallback'); +const kIsGlobalContext = Symbol('isGlobalContext'); const kPostProcess = Symbol('postProcess'); const kRebase = Symbol('rebase'); const kReset = Symbol('reset'); @@ -90,6 +91,7 @@ export class YargsInstance { _YargsInstance_groups.set(this, {}); _YargsInstance_hasOutput.set(this, false); _YargsInstance_helpOpt.set(this, null); + _YargsInstance_isGlobalContext.set(this, true); _YargsInstance_logger.set(this, void 0); _YargsInstance_output.set(this, ''); _YargsInstance_options.set(this, void 0); @@ -217,12 +219,19 @@ export class YargsInstance { __classPrivateFieldGet(this, _YargsInstance_options, "f").key[keys] = true; __classPrivateFieldGet(this, _YargsInstance_globalMiddleware, "f").addCoerceMiddleware((argv, yargs) => { let aliases; + const shouldCoerce = Object.prototype.hasOwnProperty.call(argv, keys); + if (!shouldCoerce) { + return argv; + } return maybeAsyncResult(() => { aliases = yargs.getAliases(); return value(argv[keys]); }, (result) => { argv[keys] = result; - if (aliases[keys]) { + const stripAliased = yargs + .getInternalMethods() + .getParserConfiguration()['strip-aliased']; + if (aliases[keys] && stripAliased !== true) { for (const alias of aliases[keys]) { argv[alias] = result; } @@ -535,7 +544,7 @@ export class YargsInstance { } locale(locale) { argsert('[string]', [locale], arguments.length); - if (!locale) { + if (locale === undefined) { this[kGuessLocale](); return __classPrivateFieldGet(this, _YargsInstance_shim, "f").y18n.getLocale(); } @@ -946,7 +955,7 @@ export class YargsInstance { __classPrivateFieldGet(this, _YargsInstance_usage, "f").wrap(cols); return this; } - [(_YargsInstance_command = new WeakMap(), _YargsInstance_cwd = new WeakMap(), _YargsInstance_context = new WeakMap(), _YargsInstance_completion = new WeakMap(), _YargsInstance_completionCommand = new WeakMap(), _YargsInstance_defaultShowHiddenOpt = new WeakMap(), _YargsInstance_exitError = new WeakMap(), _YargsInstance_detectLocale = new WeakMap(), _YargsInstance_emittedWarnings = new WeakMap(), _YargsInstance_exitProcess = new WeakMap(), _YargsInstance_frozens = new WeakMap(), _YargsInstance_globalMiddleware = new WeakMap(), _YargsInstance_groups = new WeakMap(), _YargsInstance_hasOutput = new WeakMap(), _YargsInstance_helpOpt = new WeakMap(), _YargsInstance_logger = new WeakMap(), _YargsInstance_output = new WeakMap(), _YargsInstance_options = new WeakMap(), _YargsInstance_parentRequire = new WeakMap(), _YargsInstance_parserConfig = new WeakMap(), _YargsInstance_parseFn = new WeakMap(), _YargsInstance_parseContext = new WeakMap(), _YargsInstance_pkgs = new WeakMap(), _YargsInstance_preservedGroups = new WeakMap(), _YargsInstance_processArgs = new WeakMap(), _YargsInstance_recommendCommands = new WeakMap(), _YargsInstance_shim = new WeakMap(), _YargsInstance_strict = new WeakMap(), _YargsInstance_strictCommands = new WeakMap(), _YargsInstance_strictOptions = new WeakMap(), _YargsInstance_usage = new WeakMap(), _YargsInstance_versionOpt = new WeakMap(), _YargsInstance_validation = new WeakMap(), kCopyDoubleDash)](argv) { + [(_YargsInstance_command = new WeakMap(), _YargsInstance_cwd = new WeakMap(), _YargsInstance_context = new WeakMap(), _YargsInstance_completion = new WeakMap(), _YargsInstance_completionCommand = new WeakMap(), _YargsInstance_defaultShowHiddenOpt = new WeakMap(), _YargsInstance_exitError = new WeakMap(), _YargsInstance_detectLocale = new WeakMap(), _YargsInstance_emittedWarnings = new WeakMap(), _YargsInstance_exitProcess = new WeakMap(), _YargsInstance_frozens = new WeakMap(), _YargsInstance_globalMiddleware = new WeakMap(), _YargsInstance_groups = new WeakMap(), _YargsInstance_hasOutput = new WeakMap(), _YargsInstance_helpOpt = new WeakMap(), _YargsInstance_isGlobalContext = new WeakMap(), _YargsInstance_logger = new WeakMap(), _YargsInstance_output = new WeakMap(), _YargsInstance_options = new WeakMap(), _YargsInstance_parentRequire = new WeakMap(), _YargsInstance_parserConfig = new WeakMap(), _YargsInstance_parseFn = new WeakMap(), _YargsInstance_parseContext = new WeakMap(), _YargsInstance_pkgs = new WeakMap(), _YargsInstance_preservedGroups = new WeakMap(), _YargsInstance_processArgs = new WeakMap(), _YargsInstance_recommendCommands = new WeakMap(), _YargsInstance_shim = new WeakMap(), _YargsInstance_strict = new WeakMap(), _YargsInstance_strictCommands = new WeakMap(), _YargsInstance_strictOptions = new WeakMap(), _YargsInstance_usage = new WeakMap(), _YargsInstance_versionOpt = new WeakMap(), _YargsInstance_validation = new WeakMap(), kCopyDoubleDash)](argv) { if (!argv._ || !argv['--']) return argv; argv._.push.apply(argv._, argv['--']); @@ -1180,6 +1189,7 @@ export class YargsInstance { getUsageInstance: this[kGetUsageInstance].bind(this), getValidationInstance: this[kGetValidationInstance].bind(this), hasParseCallback: this[kHasParseCallback].bind(this), + isGlobalContext: this[kIsGlobalContext].bind(this), postProcess: this[kPostProcess].bind(this), reset: this[kReset].bind(this), runValidation: this[kRunValidation].bind(this), @@ -1211,6 +1221,9 @@ export class YargsInstance { [kHasParseCallback]() { return !!__classPrivateFieldGet(this, _YargsInstance_parseFn, "f"); } + [kIsGlobalContext]() { + return __classPrivateFieldGet(this, _YargsInstance_isGlobalContext, "f"); + } [kPostProcess](argv, populateDoubleDash, calledFromCommand, runGlobalMiddleware) { if (calledFromCommand) return argv; @@ -1345,6 +1358,7 @@ export class YargsInstance { helpOptSet = true; } } + __classPrivateFieldSet(this, _YargsInstance_isGlobalContext, false, "f"); const handlerKeys = __classPrivateFieldGet(this, _YargsInstance_command, "f").getCommands(); const requestCompletions = __classPrivateFieldGet(this, _YargsInstance_completion, "f").completionKey in argv; const skipRecommendation = helpOptSet || requestCompletions || helpOnly; diff --git a/node_modules/yargs/build/lib/yerror.js b/node_modules/yargs/build/lib/yerror.js index 4cfef75e56..7a36684da8 100644 --- a/node_modules/yargs/build/lib/yerror.js +++ b/node_modules/yargs/build/lib/yerror.js @@ -2,6 +2,8 @@ export class YError extends Error { constructor(msg) { super(msg || 'yargs error'); this.name = 'YError'; - Error.captureStackTrace(this, YError); + if (Error.captureStackTrace) { + Error.captureStackTrace(this, YError); + } } } diff --git a/node_modules/yargs/lib/platform-shims/esm.mjs b/node_modules/yargs/lib/platform-shims/esm.mjs index 92f2f0993f..c25baa5a31 100644 --- a/node_modules/yargs/lib/platform-shims/esm.mjs +++ b/node_modules/yargs/lib/platform-shims/esm.mjs @@ -21,7 +21,7 @@ try { } catch (e) { __dirname = process.cwd(); } -const mainFilename = __dirname.split('node_modules')[0] +const mainFilename = __dirname.substring(0, __dirname.lastIndexOf('node_modules')); export default { assert: { diff --git a/node_modules/yargs/locales/ru.json b/node_modules/yargs/locales/ru.json index 5f7f76810e..d5c9e323b8 100644 --- a/node_modules/yargs/locales/ru.json +++ b/node_modules/yargs/locales/ru.json @@ -42,5 +42,10 @@ "Path to JSON config file": "Путь к файлу конфигурации JSON", "Show help": "Показать помощь", "Show version number": "Показать номер версии", - "Did you mean %s?": "Вы имели в виду %s?" + "Did you mean %s?": "Вы имели в виду %s?", + "Arguments %s and %s are mutually exclusive": "Аргументы %s и %s являются взаимоисключающими", + "Positionals:": "Позиционные аргументы:", + "command": "команда", + "deprecated": "устар.", + "deprecated: %s": "устар.: %s" } diff --git a/node_modules/yargs/package.json b/node_modules/yargs/package.json index 2c69bc76c3..2d48e590ea 100644 --- a/node_modules/yargs/package.json +++ b/node_modules/yargs/package.json @@ -1,6 +1,6 @@ { "name": "yargs", - "version": "17.3.1", + "version": "17.5.1", "description": "yargs the modern, pirate-themed, successor to optimist.", "main": "./index.cjs", "exports": { @@ -16,8 +16,13 @@ "import": "./helpers/helpers.mjs", "require": "./helpers/index.js" }, + "./browser": { + "import": "./browser.mjs", + "types": "./browser.d.ts" + }, "./yargs": [ { + "import": "./yargs.mjs", "require": "./yargs" }, "./yargs" @@ -33,11 +38,13 @@ ], "files": [ "browser.mjs", + "browser.d.ts", "index.cjs", "helpers/*.js", "helpers/*", "index.mjs", "yargs", + "yargs.mjs", "build", "locales", "LICENSE", diff --git a/node_modules/yargs/yargs.mjs b/node_modules/yargs/yargs.mjs new file mode 100644 index 0000000000..6d9f390c17 --- /dev/null +++ b/node_modules/yargs/yargs.mjs @@ -0,0 +1,10 @@ +// TODO: consolidate on using a helpers file at some point in the future, which +// is the approach currently used to export Parser and applyExtends for ESM: +import pkg from './build/index.cjs'; +const {applyExtends, cjsPlatformShim, Parser, processArgv, Yargs} = pkg; +Yargs.applyExtends = (config, cwd, mergeExtends) => { + return applyExtends(config, cwd, mergeExtends, cjsPlatformShim); +}; +Yargs.hideBin = processArgv.hideBin; +Yargs.Parser = Parser; +export default Yargs; diff --git a/package-lock.json b/package-lock.json index 82af497e1c..be1f5ab378 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,7 @@ "@types/semver": "^7.3.8", "@types/sinon": "^10.0.2", "@typescript-eslint/parser": "^5.0.0", - "ava": "^4.0.1", + "ava": "^4.3.3", "eslint": "^7.32.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-github": "^4.2.0", @@ -1318,14 +1318,6 @@ "node": ">=8.0.0" } }, - "node_modules/arrify": { - "version": "2.0.1", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", @@ -1341,45 +1333,45 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/ava": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/ava/-/ava-4.0.1.tgz", - "integrity": "sha512-+12A/JDWyShBCZAKISEEPyM2dwkUrrAfPILqXi4LI4Aa58d92PzjY829hmuoSeACPNqrn2Wlbnja8c/n7bKV6Q==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.3.tgz", + "integrity": "sha512-9Egq/d9R74ExrWohHeqUlexjDbgZJX5jA1Wq4KCTqc3wIfpGEK79zVy4rBtofJ9YKIxs4PzhJ8BgbW5PlAYe6w==", "dev": true, "dependencies": { - "acorn": "^8.7.0", + "acorn": "^8.7.1", "acorn-walk": "^8.2.0", "ansi-styles": "^6.1.0", "arrgv": "^1.0.2", "arrify": "^3.0.0", "callsites": "^4.0.0", "cbor": "^8.1.0", - "chalk": "^5.0.0", - "chokidar": "^3.5.2", + "chalk": "^5.0.1", + "chokidar": "^3.5.3", "chunkd": "^2.0.1", - "ci-info": "^3.3.0", + "ci-info": "^3.3.1", "ci-parallel-vars": "^1.0.1", "clean-yaml-object": "^0.1.0", "cli-truncate": "^3.1.0", - "code-excerpt": "^3.0.0", + "code-excerpt": "^4.0.0", "common-path-prefix": "^3.0.0", "concordance": "^5.0.4", "currently-unhandled": "^0.4.1", - "debug": "^4.3.3", - "del": "^6.0.0", - "emittery": "^0.10.0", - "figures": "^4.0.0", - "globby": "^12.0.2", - "ignore-by-default": "^2.0.0", + "debug": "^4.3.4", + "del": "^6.1.1", + "emittery": "^0.11.0", + "figures": "^4.0.1", + "globby": "^13.1.1", + "ignore-by-default": "^2.1.0", "indent-string": "^5.0.0", "is-error": "^2.2.2", "is-plain-object": "^5.0.0", "is-promise": "^4.0.0", "matcher": "^5.0.0", - "mem": "^9.0.1", + "mem": "^9.0.2", "ms": "^2.1.3", "p-event": "^5.0.1", - "p-map": "^5.3.0", - "picomatch": "^2.3.0", + "p-map": "^5.4.0", + "picomatch": "^2.3.1", "pkg-conf": "^4.0.0", "plur": "^5.1.0", "pretty-ms": "^7.0.1", @@ -1387,16 +1379,16 @@ "slash": "^3.0.0", "stack-utils": "^2.0.5", "strip-ansi": "^7.0.1", - "supertap": "^2.0.0", + "supertap": "^3.0.1", "temp-dir": "^2.0.0", - "write-file-atomic": "^3.0.3", - "yargs": "^17.3.1" + "write-file-atomic": "^4.0.1", + "yargs": "^17.5.1" }, "bin": { "ava": "entrypoints/cli.mjs" }, "engines": { - "node": ">=12.22 <13 || >=14.17 <15 || >=16.4 <17 || >=17" + "node": ">=12.22 <13 || >=14.17 <15 || >=16.4 <17 || >=18" }, "peerDependencies": { "@ava/typescript": "*" @@ -1408,9 +1400,9 @@ } }, "node_modules/ava/node_modules/acorn": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", - "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -1420,9 +1412,9 @@ } }, "node_modules/ava/node_modules/aggregate-error": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.0.tgz", - "integrity": "sha512-8DGp7zUt1E9k0NE2q4jlXHk+V3ORErmwolEdRz9iV+LKJ40WhMHh92cxAvhqV2I+zEn/gotIoqoMs0NjF3xofg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", + "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", "dev": true, "dependencies": { "clean-stack": "^4.0.0", @@ -1459,18 +1451,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/ava/node_modules/array-union": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz", - "integrity": "sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ava/node_modules/arrify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/arrify/-/arrify-3.0.0.tgz", @@ -1496,9 +1476,9 @@ } }, "node_modules/ava/node_modules/chalk": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.0.0.tgz", - "integrity": "sha512-/duVOqst+luxCQRKEo4bNxinsOQtMP80ZYm7mMqzuh5PociNL0PvmHFvREJ9ueYL2TxlHjBcmLCdmocx9Vg+IQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.0.1.tgz", + "integrity": "sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w==", "dev": true, "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" @@ -1508,9 +1488,9 @@ } }, "node_modules/ava/node_modules/clean-stack": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.1.0.tgz", - "integrity": "sha512-dxXQYI7mfQVcaF12s6sjNFoZ6ZPDQuBBLp3QJ5156k9EvUFClUoZ11fo8HnLQO241DDVntHEug8MOuFO5PSfRg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", + "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", "dev": true, "dependencies": { "escape-string-regexp": "5.0.0" @@ -1535,15 +1515,14 @@ } }, "node_modules/ava/node_modules/globby": { - "version": "12.2.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-12.2.0.tgz", - "integrity": "sha512-wiSuFQLZ+urS9x2gGPl1H5drc5twabmm4m2gTR27XDFyjUHJUNsS8o/2aKyIF6IoBaR630atdher0XJ5g6OMmA==", + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.1.2.tgz", + "integrity": "sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==", "dev": true, "dependencies": { - "array-union": "^3.0.1", "dir-glob": "^3.0.1", - "fast-glob": "^3.2.7", - "ignore": "^5.1.9", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", "merge2": "^1.4.1", "slash": "^4.0.0" }, @@ -1585,9 +1564,9 @@ "dev": true }, "node_modules/ava/node_modules/p-map": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.3.0.tgz", - "integrity": "sha512-SRbIQFoLYNezHkqZslqeg963HYUtqOrfMCxjNrFOpJ19WTYuq26rQoOXeX8QQiMLUlLqdYV/7PuDsdYJ7hLE1w==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.5.0.tgz", + "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==", "dev": true, "dependencies": { "aggregate-error": "^4.0.0" @@ -1711,10 +1690,16 @@ } }, "node_modules/chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "dev": true, + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -1737,9 +1722,9 @@ "dev": true }, "node_modules/ci-info": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.0.tgz", - "integrity": "sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.2.tgz", + "integrity": "sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==", "dev": true }, "node_modules/ci-parallel-vars": { @@ -1841,15 +1826,15 @@ } }, "node_modules/code-excerpt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-3.0.0.tgz", - "integrity": "sha512-VHNTVhd7KsLGOqfX3SyeO8RyYPMp1GJOg194VITk04WMYCv4plV68YWe6TJZxd9MhobjtpMRnVky01gqZsalaw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz", + "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==", "dev": true, "dependencies": { - "convert-to-spaces": "^1.0.1" + "convert-to-spaces": "^2.0.1" }, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/color-convert": { @@ -1915,12 +1900,12 @@ "integrity": "sha512-VZzbIORbP+PPcN/gg3DXClTLPLg5Slwd5fL2MIc+o1qZ4BXBvWyc6QxPk6T/Mkr6IVjRpoAGf32XxP3ZWMVRcQ==" }, "node_modules/convert-to-spaces": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz", - "integrity": "sha1-fj5Iu+bZl7FBfdyihoIEtNPYVxU=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz", + "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==", "dev": true, "engines": { - "node": ">= 4" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/cross-spawn": { @@ -1968,9 +1953,9 @@ } }, "node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -2009,9 +1994,9 @@ } }, "node_modules/del": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", - "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/del/-/del-6.1.1.tgz", + "integrity": "sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==", "dependencies": { "globby": "^11.0.1", "graceful-fs": "^4.2.4", @@ -2079,9 +2064,9 @@ "dev": true }, "node_modules/emittery": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.0.tgz", - "integrity": "sha512-AGvFfs+d0JKCJQ4o01ASQLGPmSCxgfU9RFXvzPvZdjKK8oscynksuJhWrSTSw7j7Ep/sZct5b5ZhYCi8S/t0HQ==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.11.0.tgz", + "integrity": "sha512-S/7tzL6v5i+4iJd627Nhv9cLFIo5weAIlGccqJFpnBoDB8U1TF2k5tez4J/QNuxyyhWuFqHg1L84Kd3m7iXg6g==", "dev": true, "engines": { "node": ">=12" @@ -3049,13 +3034,13 @@ } }, "node_modules/figures": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-4.0.0.tgz", - "integrity": "sha512-VnYcWq6H6F0qDN0QnorznBr0abEovifzUokmnezpKZBUbDmbLAt7LMryOp1TKFVxLxyNYkxEkCEADZR58U9oSw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/figures/-/figures-4.0.1.tgz", + "integrity": "sha512-rElJwkA/xS04Vfg+CaZodpso7VqBknOYbzi6I76hI4X80RUjkSxO2oAyPmGbuXUppywjqndOrQDl817hDnI++w==", "dev": true, "dependencies": { "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.0.0" + "is-unicode-supported": "^1.2.0" }, "engines": { "node": ">=12" @@ -3464,9 +3449,9 @@ } }, "node_modules/ignore-by-default": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-2.0.0.tgz", - "integrity": "sha512-+mQSgMRiFD3L3AOxLYOCxjIq4OnAmo5CIuC+lj5ehCJcPtV++QacEV7FdpzvYxH6DaOySWzQU6RR0lPLy37ckA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-2.1.0.tgz", + "integrity": "sha512-yiWd4GVmJp0Q6ghmM2B/V3oZGRmjrKLXvHR3TE1nfoXsmoggllfZUQe74EN0fJdPFZu2NIvNdrMMLm3OsV7Ohw==", "dev": true, "engines": { "node": ">=10 <11 || >=12 <13 || >=14" @@ -3768,16 +3753,10 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true - }, "node_modules/is-unicode-supported": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.1.0.tgz", - "integrity": "sha512-lDcxivp8TJpLG75/DpatAqNzOpDPSpED8XNtrpBHTdQ2InQ1PbW78jhwSxyxhhu+xbVSast2X38bwj8atwoUQA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.2.0.tgz", + "integrity": "sha512-wH+U77omcRzevfIG8dDhTS0V9zZyweakfD01FULl97+0EHiJTTZtJqxPSkIIo/SDPv/i07k/C9jAPY+jwLLeUQ==", "dev": true, "engines": { "node": ">=12" @@ -4518,9 +4497,9 @@ } }, "node_modules/picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "engines": { "node": ">=8.6" }, @@ -4923,7 +4902,7 @@ "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, "engines": { "node": ">=0.10.0" @@ -5092,9 +5071,9 @@ } }, "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, "node_modules/sinon": { @@ -5338,19 +5317,30 @@ } }, "node_modules/supertap": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supertap/-/supertap-2.0.0.tgz", - "integrity": "sha512-jRzcXlCeDYvKoZGA5oRhYyR3jUIYu0enkSxtmAgHRlD7HwrovTpH4bDSi0py9FtuA8si9cW/fKommJHuaoDHJA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/supertap/-/supertap-3.0.1.tgz", + "integrity": "sha512-u1ZpIBCawJnO+0QePsEiOknOfCRq0yERxiAchT0i4li0WHNUJbf0evXXSXOcCAR4M8iMDoajXYmstm/qO81Isw==", "dev": true, "dependencies": { - "arrify": "^2.0.1", - "indent-string": "^4.0.0", - "js-yaml": "^3.14.0", + "indent-string": "^5.0.0", + "js-yaml": "^3.14.1", "serialize-error": "^7.0.1", - "strip-ansi": "^6.0.0" + "strip-ansi": "^7.0.1" }, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/supertap/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/supertap/node_modules/argparse": { @@ -5362,6 +5352,18 @@ "sprintf-js": "~1.0.2" } }, + "node_modules/supertap/node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/supertap/node_modules/js-yaml": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", @@ -5375,6 +5377,21 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/supertap/node_modules/strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/supports-color": { "version": "5.5.0", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", @@ -5627,15 +5644,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, "node_modules/typescript": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", @@ -5830,15 +5838,16 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "node_modules/write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", + "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, "dependencies": { "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/xml2js": { @@ -5876,9 +5885,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yargs": { - "version": "17.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz", - "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", + "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", "dev": true, "dependencies": { "cliui": "^7.0.2", @@ -5894,9 +5903,9 @@ } }, "node_modules/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, "engines": { "node": ">=12" @@ -6959,11 +6968,6 @@ "integrity": "sha512-a4eg4yhp7mmruZDQFqVMlxNRFGi/i1r87pt8SDHy0/I8PqSXoUTlWZRdAZo0VXgvEARcujbtTk8kiZRi1uDGRw==", "dev": true }, - "arrify": { - "version": "2.0.1", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true - }, "astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", @@ -6976,45 +6980,45 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "ava": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/ava/-/ava-4.0.1.tgz", - "integrity": "sha512-+12A/JDWyShBCZAKISEEPyM2dwkUrrAfPILqXi4LI4Aa58d92PzjY829hmuoSeACPNqrn2Wlbnja8c/n7bKV6Q==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.3.tgz", + "integrity": "sha512-9Egq/d9R74ExrWohHeqUlexjDbgZJX5jA1Wq4KCTqc3wIfpGEK79zVy4rBtofJ9YKIxs4PzhJ8BgbW5PlAYe6w==", "dev": true, "requires": { - "acorn": "^8.7.0", + "acorn": "^8.7.1", "acorn-walk": "^8.2.0", "ansi-styles": "^6.1.0", "arrgv": "^1.0.2", "arrify": "^3.0.0", "callsites": "^4.0.0", "cbor": "^8.1.0", - "chalk": "^5.0.0", - "chokidar": "^3.5.2", + "chalk": "^5.0.1", + "chokidar": "^3.5.3", "chunkd": "^2.0.1", - "ci-info": "^3.3.0", + "ci-info": "^3.3.1", "ci-parallel-vars": "^1.0.1", "clean-yaml-object": "^0.1.0", "cli-truncate": "^3.1.0", - "code-excerpt": "^3.0.0", + "code-excerpt": "^4.0.0", "common-path-prefix": "^3.0.0", "concordance": "^5.0.4", "currently-unhandled": "^0.4.1", - "debug": "^4.3.3", - "del": "^6.0.0", - "emittery": "^0.10.0", - "figures": "^4.0.0", - "globby": "^12.0.2", - "ignore-by-default": "^2.0.0", + "debug": "^4.3.4", + "del": "^6.1.1", + "emittery": "^0.11.0", + "figures": "^4.0.1", + "globby": "^13.1.1", + "ignore-by-default": "^2.1.0", "indent-string": "^5.0.0", "is-error": "^2.2.2", "is-plain-object": "^5.0.0", "is-promise": "^4.0.0", "matcher": "^5.0.0", - "mem": "^9.0.1", + "mem": "^9.0.2", "ms": "^2.1.3", "p-event": "^5.0.1", - "p-map": "^5.3.0", - "picomatch": "^2.3.0", + "p-map": "^5.4.0", + "picomatch": "^2.3.1", "pkg-conf": "^4.0.0", "plur": "^5.1.0", "pretty-ms": "^7.0.1", @@ -7022,22 +7026,22 @@ "slash": "^3.0.0", "stack-utils": "^2.0.5", "strip-ansi": "^7.0.1", - "supertap": "^2.0.0", + "supertap": "^3.0.1", "temp-dir": "^2.0.0", - "write-file-atomic": "^3.0.3", - "yargs": "^17.3.1" + "write-file-atomic": "^4.0.1", + "yargs": "^17.5.1" }, "dependencies": { "acorn": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", - "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true }, "aggregate-error": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.0.tgz", - "integrity": "sha512-8DGp7zUt1E9k0NE2q4jlXHk+V3ORErmwolEdRz9iV+LKJ40WhMHh92cxAvhqV2I+zEn/gotIoqoMs0NjF3xofg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", + "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", "dev": true, "requires": { "clean-stack": "^4.0.0", @@ -7056,12 +7060,6 @@ "integrity": "sha512-VbqNsoz55SYGczauuup0MFUyXNQviSpFTj1RQtFzmQLk18qbVSpTFFGMT293rmDaQuKCT6InmbuEyUne4mTuxQ==", "dev": true }, - "array-union": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz", - "integrity": "sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw==", - "dev": true - }, "arrify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/arrify/-/arrify-3.0.0.tgz", @@ -7075,15 +7073,15 @@ "dev": true }, "chalk": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.0.0.tgz", - "integrity": "sha512-/duVOqst+luxCQRKEo4bNxinsOQtMP80ZYm7mMqzuh5PociNL0PvmHFvREJ9ueYL2TxlHjBcmLCdmocx9Vg+IQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.0.1.tgz", + "integrity": "sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w==", "dev": true }, "clean-stack": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.1.0.tgz", - "integrity": "sha512-dxXQYI7mfQVcaF12s6sjNFoZ6ZPDQuBBLp3QJ5156k9EvUFClUoZ11fo8HnLQO241DDVntHEug8MOuFO5PSfRg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", + "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", "dev": true, "requires": { "escape-string-regexp": "5.0.0" @@ -7096,15 +7094,14 @@ "dev": true }, "globby": { - "version": "12.2.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-12.2.0.tgz", - "integrity": "sha512-wiSuFQLZ+urS9x2gGPl1H5drc5twabmm4m2gTR27XDFyjUHJUNsS8o/2aKyIF6IoBaR630atdher0XJ5g6OMmA==", + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.1.2.tgz", + "integrity": "sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==", "dev": true, "requires": { - "array-union": "^3.0.1", "dir-glob": "^3.0.1", - "fast-glob": "^3.2.7", - "ignore": "^5.1.9", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", "merge2": "^1.4.1", "slash": "^4.0.0" }, @@ -7130,9 +7127,9 @@ "dev": true }, "p-map": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.3.0.tgz", - "integrity": "sha512-SRbIQFoLYNezHkqZslqeg963HYUtqOrfMCxjNrFOpJ19WTYuq26rQoOXeX8QQiMLUlLqdYV/7PuDsdYJ7hLE1w==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.5.0.tgz", + "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==", "dev": true, "requires": { "aggregate-error": "^4.0.0" @@ -7225,9 +7222,9 @@ "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=" }, "chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", "dev": true, "requires": { "anymatch": "~3.1.2", @@ -7246,9 +7243,9 @@ "dev": true }, "ci-info": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.0.tgz", - "integrity": "sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.2.tgz", + "integrity": "sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==", "dev": true }, "ci-parallel-vars": { @@ -7322,12 +7319,12 @@ } }, "code-excerpt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-3.0.0.tgz", - "integrity": "sha512-VHNTVhd7KsLGOqfX3SyeO8RyYPMp1GJOg194VITk04WMYCv4plV68YWe6TJZxd9MhobjtpMRnVky01gqZsalaw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz", + "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==", "dev": true, "requires": { - "convert-to-spaces": "^1.0.1" + "convert-to-spaces": "^2.0.1" } }, "color-convert": { @@ -7384,9 +7381,9 @@ "integrity": "sha512-VZzbIORbP+PPcN/gg3DXClTLPLg5Slwd5fL2MIc+o1qZ4BXBvWyc6QxPk6T/Mkr6IVjRpoAGf32XxP3ZWMVRcQ==" }, "convert-to-spaces": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz", - "integrity": "sha1-fj5Iu+bZl7FBfdyihoIEtNPYVxU=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz", + "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==", "dev": true }, "cross-spawn": { @@ -7422,9 +7419,9 @@ } }, "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "requires": { "ms": "2.1.2" @@ -7449,9 +7446,9 @@ } }, "del": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", - "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/del/-/del-6.1.1.tgz", + "integrity": "sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==", "requires": { "globby": "^11.0.1", "graceful-fs": "^4.2.4", @@ -7501,9 +7498,9 @@ "dev": true }, "emittery": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.0.tgz", - "integrity": "sha512-AGvFfs+d0JKCJQ4o01ASQLGPmSCxgfU9RFXvzPvZdjKK8oscynksuJhWrSTSw7j7Ep/sZct5b5ZhYCi8S/t0HQ==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.11.0.tgz", + "integrity": "sha512-S/7tzL6v5i+4iJd627Nhv9cLFIo5weAIlGccqJFpnBoDB8U1TF2k5tez4J/QNuxyyhWuFqHg1L84Kd3m7iXg6g==", "dev": true }, "emoji-regex": { @@ -8204,13 +8201,13 @@ } }, "figures": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-4.0.0.tgz", - "integrity": "sha512-VnYcWq6H6F0qDN0QnorznBr0abEovifzUokmnezpKZBUbDmbLAt7LMryOp1TKFVxLxyNYkxEkCEADZR58U9oSw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/figures/-/figures-4.0.1.tgz", + "integrity": "sha512-rElJwkA/xS04Vfg+CaZodpso7VqBknOYbzi6I76hI4X80RUjkSxO2oAyPmGbuXUppywjqndOrQDl817hDnI++w==", "dev": true, "requires": { "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.0.0" + "is-unicode-supported": "^1.2.0" }, "dependencies": { "escape-string-regexp": { @@ -8510,9 +8507,9 @@ "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" }, "ignore-by-default": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-2.0.0.tgz", - "integrity": "sha512-+mQSgMRiFD3L3AOxLYOCxjIq4OnAmo5CIuC+lj5ehCJcPtV++QacEV7FdpzvYxH6DaOySWzQU6RR0lPLy37ckA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-2.1.0.tgz", + "integrity": "sha512-yiWd4GVmJp0Q6ghmM2B/V3oZGRmjrKLXvHR3TE1nfoXsmoggllfZUQe74EN0fJdPFZu2NIvNdrMMLm3OsV7Ohw==", "dev": true }, "import-fresh": { @@ -8708,16 +8705,10 @@ "has-symbols": "^1.0.2" } }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true - }, "is-unicode-supported": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.1.0.tgz", - "integrity": "sha512-lDcxivp8TJpLG75/DpatAqNzOpDPSpED8XNtrpBHTdQ2InQ1PbW78jhwSxyxhhu+xbVSast2X38bwj8atwoUQA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.2.0.tgz", + "integrity": "sha512-wH+U77omcRzevfIG8dDhTS0V9zZyweakfD01FULl97+0EHiJTTZtJqxPSkIIo/SDPv/i07k/C9jAPY+jwLLeUQ==", "dev": true }, "isarray": { @@ -9270,9 +9261,9 @@ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" }, "picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" }, "pinkie": { "version": "2.0.4", @@ -9550,7 +9541,7 @@ "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true }, "require-from-string": { @@ -9665,9 +9656,9 @@ "dev": true }, "signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, "sinon": { @@ -9853,18 +9844,23 @@ "dev": true }, "supertap": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supertap/-/supertap-2.0.0.tgz", - "integrity": "sha512-jRzcXlCeDYvKoZGA5oRhYyR3jUIYu0enkSxtmAgHRlD7HwrovTpH4bDSi0py9FtuA8si9cW/fKommJHuaoDHJA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/supertap/-/supertap-3.0.1.tgz", + "integrity": "sha512-u1ZpIBCawJnO+0QePsEiOknOfCRq0yERxiAchT0i4li0WHNUJbf0evXXSXOcCAR4M8iMDoajXYmstm/qO81Isw==", "dev": true, "requires": { - "arrify": "^2.0.1", - "indent-string": "^4.0.0", - "js-yaml": "^3.14.0", + "indent-string": "^5.0.0", + "js-yaml": "^3.14.1", "serialize-error": "^7.0.1", - "strip-ansi": "^6.0.0" + "strip-ansi": "^7.0.1" }, "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -9874,6 +9870,12 @@ "sprintf-js": "~1.0.2" } }, + "indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true + }, "js-yaml": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", @@ -9883,6 +9885,15 @@ "argparse": "^1.0.7", "esprima": "^4.0.0" } + }, + "strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } } } }, @@ -10075,15 +10086,6 @@ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true }, - "typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, - "requires": { - "is-typedarray": "^1.0.0" - } - }, "typescript": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", @@ -10234,15 +10236,13 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", + "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, "requires": { "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" + "signal-exit": "^3.0.7" } }, "xml2js": { @@ -10271,9 +10271,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "yargs": { - "version": "17.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz", - "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", + "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", "dev": true, "requires": { "cliui": "^7.0.2", @@ -10286,9 +10286,9 @@ } }, "yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true }, "yocto-queue": { diff --git a/package.json b/package.json index 31903ac42d..8fdc2c05fb 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@types/semver": "^7.3.8", "@types/sinon": "^10.0.2", "@typescript-eslint/parser": "^5.0.0", - "ava": "^4.0.1", + "ava": "^4.3.3", "eslint": "^7.32.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-github": "^4.2.0", From fc2f344141c05d18f3318a7fb134ff83a7571a4d Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 2 Sep 2022 19:59:18 +0100 Subject: [PATCH 26/44] Reuse `getApiDetails` code --- lib/analyze-action.js | 6 +----- lib/analyze-action.js.map | 2 +- lib/api-client.js | 3 ++- lib/api-client.js.map | 2 +- lib/autobuild-action.js | 8 +------- lib/autobuild-action.js.map | 2 +- lib/upload-sarif-action.js | 6 +----- lib/upload-sarif-action.js.map | 2 +- src/analyze-action.ts | 8 ++------ src/api-client.ts | 2 +- src/autobuild-action.ts | 17 +++-------------- src/upload-sarif-action.ts | 9 ++------- 12 files changed, 17 insertions(+), 50 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 1f6df96c8e..8424258062 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -153,11 +153,7 @@ async function run() { throw new Error("`expect-error` input parameter is for internal use only. It should only be set by codeql-action or a fork."); } await util.enrichEnvironment(util.Mode.actions, await (0, codeql_1.getCodeQL)(config.codeQLCmd)); - const apiDetails = { - auth: actionsUtil.getRequiredInput("token"), - url: util.getRequiredEnvParam("GITHUB_SERVER_URL"), - apiURL: util.getRequiredEnvParam("GITHUB_API_URL"), - }; + const apiDetails = (0, api_client_1.getApiDetails)(); const outputDir = actionsUtil.getRequiredInput("output"); const threads = util.getThreadsFlag(actionsUtil.getOptionalInput("threads") || process.env["CODEQL_THREADS"], logger); const memory = util.getMemoryFlag(actionsUtil.getOptionalInput("ram") || process.env["CODEQL_RAM"]); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 45e465ab40..0557a3a7ba 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],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OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,6CAA6C;AAC7C,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAE9C,uCAMmB;AACnB,6CAA0E;AAC1E,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,mDAAmE;AACnE,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAqE;AACrE,yDAA2C;AAE3C,6CAA+B;AAE/B,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAkBhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,wBAAwB,CAChC,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAAuB;QACvC,GAAG,gBAAgB;QACnB,GAAG,CAAC,MAAM;YACR,CAAC,CAAC;gBACE,6BAA6B,EAC3B,IAAI,CAAC,2BAA2B,CAAC,MAAM,CAA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AAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/api-client.js b/lib/api-client.js index d3d72847aa..8618b7df88 100644 --- a/lib/api-client.js +++ b/lib/api-client.js @@ -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.getGitHubVersionActionsOnly = exports.getActionsApiClient = exports.getApiClient = exports.DisallowedAPIVersionReason = void 0; +exports.getGitHubVersionActionsOnly = exports.getActionsApiClient = exports.getApiDetails = exports.getApiClient = exports.DisallowedAPIVersionReason = void 0; const path = __importStar(require("path")); const githubUtils = __importStar(require("@actions/github/lib/utils")); const retry = __importStar(require("@octokit/plugin-retry")); @@ -67,6 +67,7 @@ function getApiDetails() { apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), }; } +exports.getApiDetails = getApiDetails; // Temporary function to aid in the transition to running on and off of github actions. // Once all code has been converted this function should be removed or made canonical // and called only from the action entrypoints. diff --git a/lib/api-client.js.map b/lib/api-client.js.map index 8f9f9960a1..a63cbcf4aa 100644 --- a/lib/api-client.js.map +++ b/lib/api-client.js.map @@ -1 +1 @@ -{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,uEAAyD;AACzD,6DAA+C;AAC/C,0EAAgD;AAEhD,iDAAkD;AAClD,6CAA+B;AAC/B,iCAAqE;AAErE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAi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,CAAC,QAAQ,EAAE,CAAC;AACxB,CAAC;AAED,SAAS,aAAa;IACpB,OAAO;QACL,IAAI,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC;QAC/B,GAAG,EAAE,IAAA,0BAAmB,EAAC,mBAAmB,CAAC;QAC7C,MAAM,EAAE,IAAA,0BAAmB,EAAC,gBAAgB,CAAC;KAC9C,CAAC;AACJ,CAAC;AAED,uFAAuF;AACvF,qFAAqF;AACrF,+CAA+C;AAC/C,SAAgB,mBAAmB;IACjC,OAAO,IAAA,oBAAY,EAAC,aAAa,EAAE,CAAC,CAAC;AACvC,CAAC;AAFD,kDAEC;AAED,IAAI,mBAAmB,GAA8B,SAAS,CAAC;AAE/D;;;;;;;GAOG;AACI,KAAK,UAAU,2BAA2B;IAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;IACD,IAAI,mBAAmB,KAAK,SAAS,EAAE;QACrC,mBAAmB,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAC;KACpE;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AARD,kEAQC"} \ No newline at end of file +{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,uEAAyD;AACzD,6DAA+C;AAC/C,0EAAgD;AAEhD,iDAAkD;AAClD,6CAA+B;AAC/B,iCAAqE;AAErE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,+FAAc,CAAA;IACd,+FAAc,CAAA;AAChB,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC;AAiBM,MAAM,YAAY,GAAG,UAC1B,UAAoC,EACpC,EAA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EAAC,gBAAgB,CAAC;KAC9C,CAAC;AACJ,CAAC;AAND,sCAMC;AAED,uFAAuF;AACvF,qFAAqF;AACrF,+CAA+C;AAC/C,SAAgB,mBAAmB;IACjC,OAAO,IAAA,oBAAY,EAAC,aAAa,EAAE,CAAC,CAAC;AACvC,CAAC;AAFD,kDAEC;AAED,IAAI,mBAAmB,GAA8B,SAAS,CAAC;AAE/D;;;;;;;GAOG;AACI,KAAK,UAAU,2BAA2B;IAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;IACD,IAAI,mBAAmB,KAAK,SAAS,EAAE;QACrC,mBAAmB,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAC;KACpE;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AARD,kEAQC"} \ No newline at end of file diff --git a/lib/autobuild-action.js b/lib/autobuild-action.js index daa7e48f45..5a8b7ef65a 100644 --- a/lib/autobuild-action.js +++ b/lib/autobuild-action.js @@ -51,15 +51,9 @@ async function run() { if (!(await (0, actions_util_1.sendStatusReport)(await (0, actions_util_1.createStatusReportBase)("autobuild", "starting", startedAt)))) { return; } - const apiDetails = { - auth: (0, actions_util_1.getRequiredInput)("token"), - url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), - apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), - }; const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger, util_1.Mode.actions); - const repositoryNwo = (0, repository_1.parseRepositoryNwo)((0, util_1.getRequiredEnvParam)("GITHUB_REPOSITORY")); - const featureFlags = new feature_flags_1.GitHubFeatureFlags(gitHubVersion, apiDetails, repositoryNwo, logger); + const featureFlags = new feature_flags_1.GitHubFeatureFlags(gitHubVersion, (0, api_client_1.getApiDetails)(), (0, repository_1.parseRepositoryNwo)((0, util_1.getRequiredEnvParam)("GITHUB_REPOSITORY")), logger); const config = await configUtils.getConfig((0, actions_util_1.getTemporaryDirectory)(), logger); if (config === undefined) { throw new Error("Config file could not be found at expected location. Has the 'init' action been called?"); diff --git a/lib/autobuild-action.js.map b/lib/autobuild-action.js.map index 8bcd5bde07..41571bf7c4 100644 --- a/lib/autobuild-action.js.map +++ b/lib/autobuild-action.js.map @@ -1 +1 @@ -{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAQwB;AACxB,6CAA2D;AAC3D,2CAAuE;AACvE,4DAA8C;AAC9C,mDAAqD;AACrD,2CAAuC;AACvC,uCAA6C;AAC7C,6CAAkD;AAClD,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AASvC,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,YAAsB,EACtB,eAAwB,EACxB,KAAa;IAEb,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,IAAA,+BAAgB,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACxD,MAAM,gBAAgB,GAAG,MAAM,IAAA,qCAAsB,EACnD,WAAW,EACX,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAA0B;QAC1C,GAAG,gBAAgB;QACnB,mBAAmB,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;QAC3C,iBAAiB,EAAE,eAAe;KACnC,CAAC;IACF,MAAM,IAAA,+BAAgB,EAAC,YAAY,CAAC,CAAC;AACvC,CAAC;AAED,KAAK,UAAU,GAA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AAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAOwB;AACxB,6CAA0E;AAC1E,2CAAuE;AACvE,4DAA8C;AAC9C,mDAAqD;AACrD,2CAAuC;AACvC,uCAA6C;AAC7C,6CAAkD;AAClD,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AASvC,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,YAAsB,EACtB,eAAwB,EACxB,KAAa;IAEb,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,IAAA,+BAAgB,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACxD,MAAM,gBAAgB,GAAG,MAAM,IAAA,qCAAsB,EACnD,WAAW,EACX,MAAM,EACN,SAAS,EACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EACd,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CACb,CAAC;IACF,MAAM,YAAY,GAA0B;QAC1C,GAAG,gBAAgB;QACnB,mBAAmB,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;QAC3C,iBAAiB,EAAE,eAAe;KACnC,CAAC;IACF,MAAM,IAAA,+BAAgB,EAAC,YAAY,CAAC,CAAC;AACvC,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,IAAA,yBAAkB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtC,IAAI,QAAQ,GAAyB,SAAS,CAAC;IAC/C,IAAI;QACF,IACE,CAAC,CAAC,MAAM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KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACvD,EAAE,CACH,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,yBAAyB,CAC7B,SAAS,EACT,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAC1B,QAAQ,EACR,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC1D,CAAC;QACF,OAAO;KACR;IAED,MAAM,yBAAyB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,4BAA4B,KAAK,EAAE,CAAC,CAAC;QACpD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js index 869f33998d..c7c2bc3d03 100644 --- a/lib/upload-sarif-action.js +++ b/lib/upload-sarif-action.js @@ -44,11 +44,7 @@ async function run() { return; } try { - const apiDetails = { - auth: actionsUtil.getRequiredInput("token"), - url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), - apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), - }; + const apiDetails = (0, api_client_1.getApiDetails)(); const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); const uploadResult = await upload_lib.uploadFromActions(actionsUtil.getRequiredInput("sarif_file"), gitHubVersion, apiDetails, (0, logging_1.getActionsLogger)()); core.setOutput("sarif-id", uploadResult.sarifID); diff --git a/lib/upload-sarif-action.js.map b/lib/upload-sarif-action.js.map index 3ed21f8a58..4dabf6b96e 100644 --- a/lib/upload-sarif-action.js.map +++ b/lib/upload-sarif-action.js.map @@ -1 +1 @@ -{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAA2D;AAC3D,uCAA6C;AAC7C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAMvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,WAA0C;IAE1C,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,cAAc,EACd,SAAS,EACT,SAAS,CACV,CAAC;IACF,MAAM,YAAY,GAA4B;QAC5C,GAAG,gBAAgB;QACnB,GAAG,WAAW;KACf,CAAC;IACF,MAAM,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;AACnD,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,IAAA,yBAAkB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtC,IACE,CAAC,CAAC,MAAM,WAAW,CAAC,gBAAgB,CAClC,MAAM,WAAW,CAAC,sBAAsB,CACtC,cAAc,EACd,UAAU,EACV,SAAS,CACV,CACF,CAAC,EACF;QACA,OAAO;KACR;IAED,IAAI;QACF,MAAM,UAAU,GAAG;YACjB,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC;YAC3C,GAAG,EAAE,IAAA,0BAAmB,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C,sBAAsB,CACtC,cAAc,EACd,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,EACnC,SAAS,EACT,OAAO,EACP,KAAK,CACN,CACF,CAAC;QACF,OAAO;KACR;AACH,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,sCAAsC,KAAK,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAA0E;AAC1E,uCAA6C;AAC7C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAMvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,WAA0C;IAE1C,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,cAAc,EACd,SAAS,EACT,SAAS,CACV,CAAC;IACF,MAAM,YAAY,GAA4B;QAC5C,GAAG,gBAAgB;QACnB,GAAG,WAAW;KACf,CAAC;IACF,MAAM,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;AACnD,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,IAAA,yBAAkB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtC,IACE,CAAC,CAAC,MAAM,WAAW,CAAC,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AG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,WAAW,CAAC,gBAAgB,CAChC,MAAM,WAAW,CAAC,sBAAsB,CACtC,cAAc,EACd,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,EACnC,SAAS,EACT,OAAO,EACP,KAAK,CACN,CACF,CAAC;QACF,OAAO;KACR;AACH,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,sCAAsC,KAAK,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 99eae9594d..cde1d3c05e 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -14,7 +14,7 @@ import { runFinalize, runQueries, } from "./analyze"; -import { getGitHubVersionActionsOnly } from "./api-client"; +import { getApiDetails, getGitHubVersionActionsOnly } from "./api-client"; import { runAutobuild } from "./autobuild"; import { getCodeQL } from "./codeql"; import { Config, getConfig } from "./config-utils"; @@ -212,11 +212,7 @@ async function run() { await getCodeQL(config.codeQLCmd) ); - const apiDetails = { - auth: actionsUtil.getRequiredInput("token"), - url: util.getRequiredEnvParam("GITHUB_SERVER_URL"), - apiURL: util.getRequiredEnvParam("GITHUB_API_URL"), - }; + const apiDetails = getApiDetails(); const outputDir = actionsUtil.getRequiredInput("output"); const threads = util.getThreadsFlag( actionsUtil.getOptionalInput("threads") || process.env["CODEQL_THREADS"], diff --git a/src/api-client.ts b/src/api-client.ts index 59cfa764a0..adf7ad1316 100644 --- a/src/api-client.ts +++ b/src/api-client.ts @@ -63,7 +63,7 @@ function deriveApiUrl(githubUrl: string): string { return url.toString(); } -function getApiDetails() { +export function getApiDetails() { return { auth: getRequiredInput("token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), diff --git a/src/autobuild-action.ts b/src/autobuild-action.ts index 4c7cc881d9..fb9e49260d 100644 --- a/src/autobuild-action.ts +++ b/src/autobuild-action.ts @@ -4,12 +4,11 @@ import { createStatusReportBase, getActionsStatus, getOptionalInput, - getRequiredInput, getTemporaryDirectory, sendStatusReport, StatusReportBase, } from "./actions-util"; -import { getGitHubVersionActionsOnly } from "./api-client"; +import { getApiDetails, getGitHubVersionActionsOnly } from "./api-client"; import { determineAutobuildLanguage, runAutobuild } from "./autobuild"; import * as configUtils from "./config-utils"; import { GitHubFeatureFlags } from "./feature-flags"; @@ -72,23 +71,13 @@ async function run() { return; } - const apiDetails = { - auth: getRequiredInput("token"), - url: getRequiredEnvParam("GITHUB_SERVER_URL"), - apiURL: getRequiredEnvParam("GITHUB_API_URL"), - }; - const gitHubVersion = await getGitHubVersionActionsOnly(); checkGitHubVersionInRange(gitHubVersion, logger, Mode.actions); - const repositoryNwo = parseRepositoryNwo( - getRequiredEnvParam("GITHUB_REPOSITORY") - ); - const featureFlags = new GitHubFeatureFlags( gitHubVersion, - apiDetails, - repositoryNwo, + getApiDetails(), + parseRepositoryNwo(getRequiredEnvParam("GITHUB_REPOSITORY")), logger ); diff --git a/src/upload-sarif-action.ts b/src/upload-sarif-action.ts index 6ce7a69028..dd105cf61f 100644 --- a/src/upload-sarif-action.ts +++ b/src/upload-sarif-action.ts @@ -1,7 +1,7 @@ import * as core from "@actions/core"; import * as actionsUtil from "./actions-util"; -import { getGitHubVersionActionsOnly } from "./api-client"; +import { getApiDetails, getGitHubVersionActionsOnly } from "./api-client"; import { getActionsLogger } from "./logging"; import { parseRepositoryNwo } from "./repository"; import * as upload_lib from "./upload-lib"; @@ -53,12 +53,7 @@ async function run() { } try { - const apiDetails = { - auth: actionsUtil.getRequiredInput("token"), - url: getRequiredEnvParam("GITHUB_SERVER_URL"), - apiURL: getRequiredEnvParam("GITHUB_API_URL"), - }; - + const apiDetails = getApiDetails(); const gitHubVersion = await getGitHubVersionActionsOnly(); const uploadResult = await upload_lib.uploadFromActions( From abdf26c28fcd8637cd571970bc76d87f48a4450b Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Fri, 2 Sep 2022 15:03:51 -0700 Subject: [PATCH 27/44] Convert from json to yaml for registries input --- init/action.yml | 24 +++++++++++++++++++---- lib/config-utils.js | 2 +- lib/config-utils.js.map | 2 +- pr-checks/checks/init-with-registries.yml | 10 +++------- src/config-utils.ts | 2 +- 5 files changed, 26 insertions(+), 14 deletions(-) diff --git a/init/action.yml b/init/action.yml index d028b388d0..666b5dceef 100644 --- a/init/action.yml +++ b/init/action.yml @@ -10,15 +10,31 @@ inputs: description: The languages to be analysed required: false token: - description: GitHub token to use for authenticating with this instance of GitHub. To download custom packs from multiple registries, use registries-auth-tokens. + description: GitHub token to use for authenticating with this instance of GitHub. To download custom packs from multiple registries, use the registries input. default: ${{ github.token }} required: false registries: description: | - Authenticate to GitHub Enterprise Server Container registries by passing a comma-separated list of = pairs. + A YAML string that defines the list of GitHub container registries to use for downloading packs. The string is in the following forma (the | is required on the first line): - For example, you can pass `https://containers.GHEHOSTNAME1/v2/=TOKEN1,https://containers.GHEHOSTNAME2/v2/=TOKEN2`` to authenticate to two GitHub Enterprise Server instances. - This overrides the `token` input for pack downloads. + registries: | + - url: https://containers.GHEHOSTNAME1/v2/ + packages: + - my-company/* + - my-company2/* + token: ${{ secrets.GHEHOSTNAME1_TOKEN }} + + - url: https://ghcr.io/v2/ + packages: */* + token: ${{ secrets.GHCR_TOKEN }} + + The url property contains the url to the container registry you want to connect to. + + The packages property contains a single entry or a list of globs specifying packages that can be found in the container registry. Order is important. Earlier entries will match before later entries. + + The token property contains a connection token for this registry. + + If this input is missing, the `token` input is used for all pack downloads. required: false matrix: default: ${{ toJson(matrix) }} diff --git a/lib/config-utils.js b/lib/config-utils.js index 16d240fcaf..f94499e73c 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -919,7 +919,7 @@ async function initConfig(languagesInput, queriesInput, packsInput, registriesIn exports.initConfig = initConfig; function parseRegistries(registriesInput) { try { - return registriesInput ? JSON.parse(registriesInput) : undefined; + return registriesInput ? yaml.l(registriesInput) : undefined; } catch (e) { throw new Error(`Invalid registries input. Must be a JSON string, but got: ${e instanceof Error ? e.message : String(e)}`); diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index f55c0bf2d8..bc49854dc0 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBA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vB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ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ACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/pr-checks/checks/init-with-registries.yml b/pr-checks/checks/init-with-registries.yml index e93136f10e..692d2533c5 100644 --- a/pr-checks/checks/init-with-registries.yml +++ b/pr-checks/checks/init-with-registries.yml @@ -15,13 +15,9 @@ steps: config-file: ./.github/codeql/codeql-config-registries.yml languages: javascript registries: | - [ - { - "url": "https://ghcr.io/v2/", - "packages": "*/*", - "token": "${{ secrets.GITHUB_TOKEN }}" - } - ] + - url: "https://ghcr.io/v2/", + packages: "*/*", + token: "${{ secrets.GITHUB_TOKEN }}" env: TEST_MODE: true diff --git a/src/config-utils.ts b/src/config-utils.ts index 965fe85e3d..96fcde3983 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -1723,7 +1723,7 @@ export async function initConfig( function parseRegistries(registriesInput: string | undefined) { try { - return registriesInput ? JSON.parse(registriesInput) : undefined; + return registriesInput ? yaml.l(registriesInput) : undefined; } catch (e) { throw new Error( `Invalid registries input. Must be a JSON string, but got: ${ From 299b77421b240847168a2142d3c5309964e9fc6e Mon Sep 17 00:00:00 2001 From: Edoardo Pirovano Date: Mon, 5 Sep 2022 10:19:04 +0100 Subject: [PATCH 28/44] TRAP Caching: Be tolerant to not finding the extractor --- lib/trap-caching.js | 11 +++++++++-- lib/trap-caching.js.map | 2 +- src/trap-caching.ts | 16 ++++++++++++++-- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/lib/trap-caching.js b/lib/trap-caching.js index e4ec93ae2f..31b0205236 100644 --- a/lib/trap-caching.js +++ b/lib/trap-caching.js @@ -141,9 +141,16 @@ async function getLanguagesSupportingCaching(codeql, languages, logger) { return result; const resolveResult = await codeql.betterResolveLanguages(); outer: for (const lang of languages) { - if (resolveResult.extractors[lang].length !== 1) + const extractorsForLanguage = resolveResult.extractors[lang]; + if (extractorsForLanguage === undefined) { + logger.info(`${lang} does not support TRAP caching (couldn't find an extractor)`); continue; - const extractor = resolveResult.extractors[lang][0]; + } + if (extractorsForLanguage.length !== 1) { + logger.info(`${lang} does not support TRAP caching (found multiple extractors)`); + continue; + } + const extractor = extractorsForLanguage[0]; const trapCacheOptions = (_d = (_c = (_b = (_a = extractor.extractor_options) === null || _a === void 0 ? void 0 : _a.trap) === null || _b === void 0 ? void 0 : _b.properties) === null || _c === void 0 ? void 0 : _c.cache) === null || _d === void 0 ? void 0 : _d.properties; if (trapCacheOptions === undefined) { logger.info(`${lang} does not support TRAP caching (missing option group)`); diff --git a/lib/trap-caching.js.map b/lib/trap-caching.js.map index 24ac6c5112..5aeb514d2d 100644 --- a/lib/trap-caching.js.map +++ b/lib/trap-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"trap-caching.js","sourceRoot":"","sources":["../src/trap-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,+BAAiC;AAEjC,sDAAwC;AACxC,sEAA4C;AAE5C,4DAA8C;AAC9C,qCAA2E;AAI3E,iCAA4C;AAE5C,8DAA8D;AAC9D,+DAA+D;AAC/D,6DAA6D;AAC7D,6DAA6D;AAC7D,2BAA2B;AAC3B,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB,+DAA+D;AAC/D,MAAM,aAAa,GAAG,IAAI,CAAC;AAEpB,KAAK,UAAU,iCAAiC,CACrD,MAAc;IAEd,MAAM,MAAM,GAAe,EAAE,CAAC;IAC9B,KAAK,MA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,QAAkB,EAClB,OAAe;IAEf,OAAO,GAAG,MAAM,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,OAAO,EAAE,CAAC;AAC5D,CAAC;AAED,KAAK,UAAU,WAAW,CACxB,MAAc,EACd,QAAkB;IAElB,OAAO,eAAe,aAAa,IAAI,MAAM,MAAM,CAAC,UAAU,EAAE,IAAI,QAAQ,GAAG,CAAC;AAClF,CAAC"} \ No newline at end of file diff --git a/src/trap-caching.ts b/src/trap-caching.ts index 10b3bd4068..d5ae7d0da6 100644 --- a/src/trap-caching.ts +++ b/src/trap-caching.ts @@ -162,8 +162,20 @@ export async function getLanguagesSupportingCaching( return result; const resolveResult = await codeql.betterResolveLanguages(); outer: for (const lang of languages) { - if (resolveResult.extractors[lang].length !== 1) continue; - const extractor = resolveResult.extractors[lang][0]; + const extractorsForLanguage = resolveResult.extractors[lang]; + if (extractorsForLanguage === undefined) { + logger.info( + `${lang} does not support TRAP caching (couldn't find an extractor)` + ); + continue; + } + if (extractorsForLanguage.length !== 1) { + logger.info( + `${lang} does not support TRAP caching (found multiple extractors)` + ); + continue; + } + const extractor = extractorsForLanguage[0]; const trapCacheOptions = extractor.extractor_options?.trap?.properties?.cache?.properties; if (trapCacheOptions === undefined) { From bf97a6da5b294d8318869f0268956978fc78680d Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 6 Sep 2022 10:41:32 -0700 Subject: [PATCH 29/44] Apply suggestions from code review --- init/action.yml | 4 ++-- lib/config-utils.js | 18 ++++++++++++++++-- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 8 +++++--- lib/config-utils.test.js.map | 2 +- src/config-utils.test.ts | 9 +++++---- src/config-utils.ts | 36 +++++++++++++++++++++++++----------- 7 files changed, 55 insertions(+), 24 deletions(-) diff --git a/init/action.yml b/init/action.yml index 666b5dceef..820440d846 100644 --- a/init/action.yml +++ b/init/action.yml @@ -15,7 +15,7 @@ inputs: required: false registries: description: | - A YAML string that defines the list of GitHub container registries to use for downloading packs. The string is in the following forma (the | is required on the first line): + A YAML string that defines the list of GitHub container registries to use for downloading packs. The string is in the following form (the | is required on the first line): registries: | - url: https://containers.GHEHOSTNAME1/v2/ @@ -28,7 +28,7 @@ inputs: packages: */* token: ${{ secrets.GHCR_TOKEN }} - The url property contains the url to the container registry you want to connect to. + The url property contains the URL to the container registry you want to connect to. The packages property contains a single entry or a list of globs specifying packages that can be found in the container registry. Order is important. Earlier entries will match before later entries. diff --git a/lib/config-utils.js b/lib/config-utils.js index f94499e73c..8941e1b53e 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -919,10 +919,12 @@ async function initConfig(languagesInput, queriesInput, packsInput, registriesIn exports.initConfig = initConfig; function parseRegistries(registriesInput) { try { - return registriesInput ? yaml.l(registriesInput) : undefined; + return registriesInput + ? yaml.load(registriesInput) + : undefined; } catch (e) { - throw new Error(`Invalid registries input. Must be a JSON string, but got: ${e instanceof Error ? e.message : String(e)}`); + throw new Error("Invalid registries input. Must be a YAML string."); } } function isLocal(configPath) { @@ -1054,6 +1056,18 @@ function createRegistriesBlock(registries) { }; return qlconfig; } +/** + * Create a temporary environment based on the existing environment and overridden + * by the given environment variables that are passed in as arguments. + * + * Use this new environment in the context of the given operation. After completing + * the operation, restore the original environment. + * + * This function does not support un-setting environment variables. + * + * @param env + * @param operation + */ async function wrapEnvironment(env, operation) { // Remember the original env const oldEnv = { ...process.env }; diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index bc49854dc0..e6654ff03e 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC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AAC;IACpB,CAAC,CACF,CAAC;AACJ,CAAC;AAxDD,sCAwDC;AAED,SAAS,qBAAqB,CAAC,UAA4B;IACzD,mFAAmF;IACnF,MAAM,cAAc,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QACnD,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;KAC5B,CAAC,CAAC,CAAC;IACJ,MAAM,QAAQ,GAAG;QACf,UAAU,EAAE,cAAc;KAC3B,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,KAAK,UAAU,eAAe,CAC5B,GAAuC,EACvC,SAAmB;IAEnB,4BAA4B;IAC5B,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAElC,kBAAkB;IAClB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCA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AAS,qBAAqB,CAAC,UAA2C;IAGxE,mFAAmF;IACnF,MAAM,cAAc,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QACnD,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;KAC5B,CAAC,CAAC,CAAC;IACJ,MAAM,QAAQ,GAAG;QACf,UAAU,EAAE,cAAc;KAC3B,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;;;;;;GAWG;AACH,KAAK,UAAU,eAAe,CAC5B,GAAuC,EACvC,SAAmB;IAEnB,4BAA4B;IAC5B,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAElC,kBAAkB;IAClB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index c1044b4042..d5d8240ff3 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -1105,7 +1105,9 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ java: ["a", "b"], go: ["c", "d"], python: ["e", "f"], - }, undefined, sampleApiDetails, tmpDir, logger); + }, undefined, // registries + sampleApiDetails, tmpDir, logger); + // Expecting packs to be downloaded once for java and once for python t.deepEqual(packDownloadStub.callCount, 2); // no config file was created, so pass `undefined` as the config file path t.deepEqual(packDownloadStub.firstCall.args, [["a", "b"], undefined]); @@ -1128,7 +1130,7 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ { url: "https://containers.GHEHOSTNAME1/v2/", packages: "semmle/*", - token: "still-a-token", + token: "still-not-a-token", }, ]; const expectedConfigFile = path.join(tmpDir, "qlconfig.yml"); @@ -1136,7 +1138,7 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ packDownloadStub.callsFake((packs, configFile) => { t.deepEqual(configFile, expectedConfigFile); // verify the env vars were set correctly - t.deepEqual(process.env.GITHUB_TOKEN, "token"); + t.deepEqual(process.env.GITHUB_TOKEN, sampleApiDetails.auth); t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-a-token"); // verify the config file contents were set correctly const config = yaml.load(fs.readFileSync(configFile, "utf8")); diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index c74f36fbb3..4e69ace258 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,S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ACH,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,EAAE;YAC5C,CAAC,GAAG,EAAE,GAAG,CAAC;YACV,kBAAkB;SACnB,CAAC,CAAC;QAEH,uCAAuC;QACvC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;QACrD,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC5D,OAAO,cAAc,CAAC;AACxB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,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 6ca1414e0e..6d84826239 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -2253,12 +2253,13 @@ test("downloadPacks-no-registries", async (t) => { go: ["c", "d"], python: ["e", "f"], }, - undefined, + undefined, // registries sampleApiDetails, tmpDir, logger ); + // Expecting packs to be downloaded once for java and once for python t.deepEqual(packDownloadStub.callCount, 2); // no config file was created, so pass `undefined` as the config file path t.deepEqual(packDownloadStub.firstCall.args, [["a", "b"], undefined]); @@ -2283,7 +2284,7 @@ test("downloadPacks-with-registries", async (t) => { { url: "https://containers.GHEHOSTNAME1/v2/", packages: "semmle/*", - token: "still-a-token", + token: "still-not-a-token", }, ]; @@ -2292,7 +2293,7 @@ test("downloadPacks-with-registries", async (t) => { packDownloadStub.callsFake((packs, configFile) => { t.deepEqual(configFile, expectedConfigFile); // verify the env vars were set correctly - t.deepEqual(process.env.GITHUB_TOKEN, "token"); + t.deepEqual(process.env.GITHUB_TOKEN, sampleApiDetails.auth); t.deepEqual( process.env.CODEQL_REGISTRIES_AUTH, "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-a-token" @@ -2300,7 +2301,7 @@ test("downloadPacks-with-registries", async (t) => { // verify the config file contents were set correctly const config = yaml.load(fs.readFileSync(configFile, "utf8")) as { - registries: configUtils.SafeRegistryConfig[]; + registries: configUtils.RegistryConfigNoCredentials[]; }; t.deepEqual( config.registries, diff --git a/src/config-utils.ts b/src/config-utils.ts index 96fcde3983..15374b120b 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -61,7 +61,7 @@ export interface UserConfig { export type QueryFilter = ExcludeQueryFilter | IncludeQueryFilter; -export type RegistryConfig = SafeRegistryConfig & { +export type RegistryConfigWithCredentials = RegistryConfigNoCredentials & { // Token to use when downloading packs from this registry. token: string; }; @@ -70,7 +70,7 @@ export type RegistryConfig = SafeRegistryConfig & { * The list of registries and the associated pack globs that determine where each * pack can be downloaded from. */ -export interface SafeRegistryConfig { +export interface RegistryConfigNoCredentials { // URL of a package registry, eg- https://ghcr.io/v2/ url: string; @@ -1721,15 +1721,15 @@ export async function initConfig( return config; } -function parseRegistries(registriesInput: string | undefined) { +function parseRegistries( + registriesInput: string | undefined +): RegistryConfigWithCredentials[] | undefined { try { - return registriesInput ? yaml.l(registriesInput) : undefined; + return registriesInput + ? (yaml.load(registriesInput) as RegistryConfigWithCredentials[]) + : undefined; } catch (e) { - throw new Error( - `Invalid registries input. Must be a JSON string, but got: ${ - e instanceof Error ? e.message : String(e) - }` - ); + throw new Error("Invalid registries input. Must be a YAML string."); } } @@ -1834,7 +1834,7 @@ export async function downloadPacks( codeQL: CodeQL, languages: Language[], packs: Packs, - registries: RegistryConfig[] | undefined, + registries: RegistryConfigWithCredentials[] | undefined, apiDetails: api.GitHubApiDetails, tmpDir: string, logger: Logger @@ -1888,7 +1888,9 @@ export async function downloadPacks( ); } -function createRegistriesBlock(registries: RegistryConfig[]) { +function createRegistriesBlock(registries: RegistryConfigWithCredentials[]): { + registries: RegistryConfigNoCredentials[]; +} { // be sure to remove the `token` field from the registry before writing it to disk. const safeRegistries = registries.map((registry) => ({ url: registry.url, @@ -1900,6 +1902,18 @@ function createRegistriesBlock(registries: RegistryConfig[]) { return qlconfig; } +/** + * Create a temporary environment based on the existing environment and overridden + * by the given environment variables that are passed in as arguments. + * + * Use this new environment in the context of the given operation. After completing + * the operation, restore the original environment. + * + * This function does not support un-setting environment variables. + * + * @param env + * @param operation + */ async function wrapEnvironment( env: Record, operation: Function From 376fea671d2b49d41ed127f669df17a093c04486 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 6 Sep 2022 10:45:02 -0700 Subject: [PATCH 30/44] Clarify description of `registries` input --- .github/workflows/__init-with-registries.yml | 10 +++------- init/action.yml | 6 ++++-- lib/config-utils.test.js | 2 +- lib/config-utils.test.js.map | 2 +- pr-checks/checks/init-with-registries.yml | 4 ++-- src/config-utils.test.ts | 2 +- 6 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 9243469a4b..06d8006794 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -66,13 +66,9 @@ jobs: config-file: ./.github/codeql/codeql-config-registries.yml languages: javascript registries: | - [ - { - "url": "https://ghcr.io/v2/", - "packages": "*/*", - "token": "${{ secrets.GITHUB_TOKEN }}" - } - ] + - url: "https://ghcr.io/v2/" + packages: "*/*" + token: "${{ secrets.GITHUB_TOKEN }}" env: TEST_MODE: true diff --git a/init/action.yml b/init/action.yml index 820440d846..598b02d825 100644 --- a/init/action.yml +++ b/init/action.yml @@ -15,6 +15,8 @@ inputs: required: false registries: description: | + Use this input only when you need to download CodeQL packages from another instance of GitHub. If you only need to download packages from this GitHub instance, use the token input instead. + A YAML string that defines the list of GitHub container registries to use for downloading packs. The string is in the following form (the | is required on the first line): registries: | @@ -22,11 +24,11 @@ inputs: packages: - my-company/* - my-company2/* - token: ${{ secrets.GHEHOSTNAME1_TOKEN }} + token: \$\{{ secrets.GHEHOSTNAME1_TOKEN }} - url: https://ghcr.io/v2/ packages: */* - token: ${{ secrets.GHCR_TOKEN }} + token: \$\{{ secrets.GHCR_TOKEN }} The url property contains the URL to the container registry you want to connect to. diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index d5d8240ff3..bda40ec5c9 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -1139,7 +1139,7 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ t.deepEqual(configFile, expectedConfigFile); // verify the env vars were set correctly t.deepEqual(process.env.GITHUB_TOKEN, sampleApiDetails.auth); - t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-a-token"); + t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-not-a-token"); // verify the config file contents were set correctly const config = yaml.load(fs.readFileSync(configFile, "utf8")); t.deepEqual(config.registries, registries.map((r) => ({ url: r.url, packages: r.packages }))); diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index 4e69ace258..fcadaf2f07 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC5D,OAAO,cAAc,CAAC;AACxB,CAAC;AAID,SAAS,eAAe,CACtB,OAA4B;IAE5B,kEAAkE;IAClE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CA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AI,EAAE,oBAAQ,CAAC,MAAM,CAAC,EACrD;YACE,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YAChB,EAAE,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YACd,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;SACnB,EACD,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,MAAM,CACP,CAAC;QAEF,gDAAgD;QAChD,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,EAAE;YAC3C,CAAC,GAAG,EAAE,GAAG,CAAC;YACV,kBAAkB;SACnB,CAAC,CAAC;QACH,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,EAAE;YAC5C,CAAC,GAAG,EAAE,GAAG,CAAC;YACV,kBAAkB;SACnB,CAAC,CAAC;QAEH,uCAAuC;QACvC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;QACrD,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/pr-checks/checks/init-with-registries.yml b/pr-checks/checks/init-with-registries.yml index 692d2533c5..6b6cbd1535 100644 --- a/pr-checks/checks/init-with-registries.yml +++ b/pr-checks/checks/init-with-registries.yml @@ -15,8 +15,8 @@ steps: config-file: ./.github/codeql/codeql-config-registries.yml languages: javascript registries: | - - url: "https://ghcr.io/v2/", - packages: "*/*", + - url: "https://ghcr.io/v2/" + packages: "*/*" token: "${{ secrets.GITHUB_TOKEN }}" env: diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 6d84826239..7f8dc337d2 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -2296,7 +2296,7 @@ test("downloadPacks-with-registries", async (t) => { t.deepEqual(process.env.GITHUB_TOKEN, sampleApiDetails.auth); t.deepEqual( process.env.CODEQL_REGISTRIES_AUTH, - "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-a-token" + "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-not-a-token" ); // verify the config file contents were set correctly From add14375d53127f62ba7bf8f24a24627a236f05d Mon Sep 17 00:00:00 2001 From: David Verdeguer Date: Wed, 7 Sep 2022 00:05:40 +0200 Subject: [PATCH 31/44] Add workflowEventName --- src/actions-util.ts | 16 ++++++++++++++-- src/trap-caching.ts | 2 +- src/upload-lib.ts | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/actions-util.ts b/src/actions-util.ts index 38daf99c75..f6ee5c1688 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -109,7 +109,7 @@ export const getCommitOid = async function ( export const determineMergeBaseCommitOid = async function (): Promise< string | undefined > { - if (process.env.GITHUB_EVENT_NAME !== "pull_request") { + if (workflowEventName() !== "pull_request") { return undefined; } @@ -821,9 +821,21 @@ export async function sendStatusReport( } } +export function workflowEventName() { + // If the original event is dynamic CODESCANNING_EVENT_NAME will contain the right info (push/pull_request) + if (process.env["GITHUB_EVENT_NAME"] === "dynamic") { + const value = process.env["CODESCANNING_EVENT_NAME"]; + if (value === undefined || value.length === 0) { + return process.env["GITHUB_EVENT_NAME"]; + } + return value + } + return process.env["GITHUB_EVENT_NAME"]; +} + // Was the workflow run triggered by a `push` event, for example as opposed to a `pull_request` event. function workflowIsTriggeredByPushEvent() { - return process.env["GITHUB_EVENT_NAME"] === "push"; + return workflowEventName() === "push"; } // Is dependabot the actor that triggered the current workflow run. diff --git a/src/trap-caching.ts b/src/trap-caching.ts index d5ae7d0da6..295319788e 100644 --- a/src/trap-caching.ts +++ b/src/trap-caching.ts @@ -91,7 +91,7 @@ export async function downloadTrapCaches( let baseSha = "unknown"; const eventPath = process.env.GITHUB_EVENT_PATH; if ( - process.env.GITHUB_EVENT_NAME === "pull_request" && + actionsUtil.workflowEventName() === "pull_request" && eventPath !== undefined ) { const event = JSON.parse(fs.readFileSync(path.resolve(eventPath), "utf-8")); diff --git a/src/upload-lib.ts b/src/upload-lib.ts index 5b483da9ad..114b3d5078 100644 --- a/src/upload-lib.ts +++ b/src/upload-lib.ts @@ -325,7 +325,7 @@ export function buildPayload( gitHubVersion.type !== util.GitHubVariant.GHES || semver.satisfies(gitHubVersion.version, `>=3.1`) ) { - if (process.env.GITHUB_EVENT_NAME === "pull_request") { + if (actionsUtil.workflowEventName() === "pull_request") { if ( commitOid === util.getRequiredEnvParam("GITHUB_SHA") && mergeBaseCommitOid From 335aa5e39f687ae17f744214c53458f241b92732 Mon Sep 17 00:00:00 2001 From: David Verdeguer Date: Wed, 7 Sep 2022 09:45:08 +0200 Subject: [PATCH 32/44] Add test for workflowEventName --- src/actions-util.test.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/actions-util.test.ts b/src/actions-util.test.ts index 62741787c8..5b2437b0b7 100644 --- a/src/actions-util.test.ts +++ b/src/actions-util.test.ts @@ -775,3 +775,14 @@ test("isAnalyzingDefaultBranch()", async (t) => { getAdditionalInputStub.restore(); }); }); + +test("workflowEventName()", async (t) => { + process.env["GITHUB_EVENT_NAME"] = "push"; + t.deepEqual(actionsutil.workflowEventName(), "push"); + + process.env["GITHUB_EVENT_NAME"] = "dynamic"; + t.deepEqual(actionsutil.workflowEventName(), "dynamic"); + + process.env["CODESCANNING_EVENT_NAME"] = "push"; + t.deepEqual(actionsutil.workflowEventName(), "push"); +}); \ No newline at end of file From a03f3bd5852a3b301f275b4749302448161a7ace Mon Sep 17 00:00:00 2001 From: David Verdeguer Date: Wed, 7 Sep 2022 09:45:19 +0200 Subject: [PATCH 33/44] Build js --- lib/actions-util.js | 18 +++++++++++++++--- lib/actions-util.js.map | 2 +- lib/actions-util.test.js | 8 ++++++++ lib/actions-util.test.js.map | 2 +- lib/trap-caching.js | 2 +- lib/trap-caching.js.map | 2 +- lib/upload-lib.js | 2 +- lib/upload-lib.js.map | 2 +- 8 files changed, 29 insertions(+), 9 deletions(-) diff --git a/lib/actions-util.js b/lib/actions-util.js index c083ea719b..83a78e7cd8 100644 --- a/lib/actions-util.js +++ b/lib/actions-util.js @@ -19,7 +19,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.printDebugLogs = exports.isAnalyzingDefaultBranch = exports.getRelativeScriptPath = exports.isRunningLocalAction = exports.sendStatusReport = exports.createStatusReportBase = exports.getActionsStatus = exports.getRef = exports.computeAutomationID = exports.getAutomationID = exports.getAnalysisKey = exports.getWorkflowRunID = exports.getWorkflow = exports.formatWorkflowCause = exports.formatWorkflowErrors = exports.validateWorkflow = exports.getWorkflowErrors = exports.WorkflowErrors = exports.patternIsSuperset = exports.determineMergeBaseCommitOid = exports.getCommitOid = exports.getTemporaryDirectory = exports.getOptionalInput = exports.getRequiredInput = void 0; +exports.printDebugLogs = exports.isAnalyzingDefaultBranch = exports.getRelativeScriptPath = exports.isRunningLocalAction = exports.workflowEventName = exports.sendStatusReport = exports.createStatusReportBase = exports.getActionsStatus = exports.getRef = exports.computeAutomationID = exports.getAutomationID = exports.getAnalysisKey = exports.getWorkflowRunID = exports.getWorkflow = exports.formatWorkflowCause = exports.formatWorkflowErrors = exports.validateWorkflow = exports.getWorkflowErrors = exports.WorkflowErrors = exports.patternIsSuperset = exports.determineMergeBaseCommitOid = exports.getCommitOid = exports.getTemporaryDirectory = exports.getOptionalInput = exports.getRequiredInput = void 0; const fs = __importStar(require("fs")); const os = __importStar(require("os")); const path = __importStar(require("path")); @@ -105,7 +105,7 @@ exports.getCommitOid = getCommitOid; * Returns undefined if run by other triggers or the merge base cannot be determined. */ const determineMergeBaseCommitOid = async function () { - if (process.env.GITHUB_EVENT_NAME !== "pull_request") { + if (workflowEventName() !== "pull_request") { return undefined; } const mergeSha = (0, util_1.getRequiredEnvParam)("GITHUB_SHA"); @@ -626,9 +626,21 @@ async function sendStatusReport(statusReport) { } } exports.sendStatusReport = sendStatusReport; +function workflowEventName() { + // If the original event is dynamic CODESCANNING_EVENT_NAME will contain the right info (push/pull_request) + if (process.env["GITHUB_EVENT_NAME"] === "dynamic") { + const value = process.env["CODESCANNING_EVENT_NAME"]; + if (value === undefined || value.length === 0) { + return process.env["GITHUB_EVENT_NAME"]; + } + return value; + } + return process.env["GITHUB_EVENT_NAME"]; +} +exports.workflowEventName = workflowEventName; // Was the workflow run triggered by a `push` event, for example as opposed to a `pull_request` event. function workflowIsTriggeredByPushEvent() { - return process.env["GITHUB_EVENT_NAME"] === "push"; + return workflowEventName() === "push"; } // Is dependabot the actor that triggered the current workflow run. function isDependabotActor() { diff --git a/lib/actions-util.js.map b/lib/actions-util.js.map index 9992ea7a1a..fc7e1d0258 100644 --- a/lib/actions-util.js.map +++ b/lib/actions-util.js.map @@ -1 +1 @@ -{"version":3,"file":"actions-util.js","sourceRoot":"","sources":["../src/actions-util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,kEAAoD;AACpD,8CAAgC;AAEhC,kDAAoC;AAEpC,gEAAkD;AAClD,iCAUgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC;;;GAGG;AAEH;;;;;;GAMG;AACH,SAAgB,gBAAgB,CAAC,IAAY;IAC3C,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;AACjD,CAAC;AAFD,4CAEC;AAED;;;;;;GAMG;AACI,MAAM,gBAAgB,GAAG,UAAU,IAAY;IACpD,MAAM,KAAK,GAAG,IAAI,CAAC,QAA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git a/lib/actions-util.test.js b/lib/actions-util.test.js index 271294522c..fefe6a96a4 100644 --- a/lib/actions-util.test.js +++ b/lib/actions-util.test.js @@ -514,4 +514,12 @@ on: ["push"] getAdditionalInputStub.restore(); }); }); +(0, ava_1.default)("workflowEventName()", async (t) => { + process.env["GITHUB_EVENT_NAME"] = "push"; + t.deepEqual(actionsutil.workflowEventName(), "push"); + process.env["GITHUB_EVENT_NAME"] = "dynamic"; + t.deepEqual(actionsutil.workflowEventName(), "dynamic"); + process.env["CODESCANNING_EVENT_NAME"] = "push"; + t.deepEqual(actionsutil.workflowEventName(), "push"); +}); //# sourceMappingURL=actions-util.test.js.map \ No newline at end of file diff --git a/lib/actions-util.test.js.map b/lib/actions-util.test.js.map index 1cda7b3685..51d03bb6b9 100644 --- a/lib/actions-util.test.js.map +++ b/lib/actions-util.test.js.map @@ -1 +1 @@ -{"version":3,"file":"actions-util.test.js","sourceRoot":"","sources":["../src/actions-util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAuB;AACvB,8CAAgC;AAChC,6CAA+B;AAE/B,4DAA8C;AAC9C,mDAA+D;AAC/D,iCAA0E;AAE1E,SAAS,UAAU,CACjB,MAAgC,EAChC,QAAkC;IAElC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5E,CAAC;AAED,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,qCAAqC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtD,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IAC/B,MAAM,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,M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,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,iBAAiB,CAAC;QAC9C,CAAC,CAAC,SAAS,CAAC,MAAM,WAAW,CAAC,wBAAwB,EAAE,EAAE,KAAK,CAAC,CAAC;QACjE,sBAAsB,CAAC,OAAO,EAAE,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,qBAAqB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,MAAM,CAAC;IAC1C,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,iBAAiB,EAAE,EAAE,MAAM,CAAC,CAAC;IAErD,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;IAC7C,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,iBAAiB,EAAE,EAAE,SAAS,CAAC,CAAC;IAExD,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,GAAG,MAAM,CAAC;IAChD,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,iBAAiB,EAAE,EAAE,MAAM,CAAC,CAAC;AACvD,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/trap-caching.js b/lib/trap-caching.js index 31b0205236..adffec1bac 100644 --- a/lib/trap-caching.js +++ b/lib/trap-caching.js @@ -85,7 +85,7 @@ async function downloadTrapCaches(codeql, languages, logger) { } let baseSha = "unknown"; const eventPath = process.env.GITHUB_EVENT_PATH; - if (process.env.GITHUB_EVENT_NAME === "pull_request" && + if (actionsUtil.workflowEventName() === "pull_request" && eventPath !== undefined) { const event = JSON.parse(fs.readFileSync(path.resolve(eventPath), "utf-8")); baseSha = ((_b = (_a = event.pull_request) === null || _a === void 0 ? void 0 : _a.base) === null || _b === void 0 ? void 0 : _b.sha) || baseSha; diff --git a/lib/trap-caching.js.map b/lib/trap-caching.js.map index 5aeb514d2d..1a5d2b0a48 100644 --- a/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ACF;QACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACnB;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AA7CD,sEA6CC;AAEM,KAAK,UAAU,iBAAiB,CACrC,UAA6C,EAC7C,MAAc;IAEd,IAAI;QACF,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,GAAG,CAC7B,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE;YAC/C,OAAO,IAAA,gBAAS,EAAiB,yBAAa,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC5D,CAAC,CAAC,CACH,CAAC;QACF,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;KACzC;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,CAAC,OAAO,CAAC,uDAAuD,CAAC,EAAE,CAAC,CAAC;QAC3E,OAAO,CAAC,CAAC;KACV;AACH,CAAC;AAfD,8CAeC;AAED,KAAK,UAAU,QAAQ,CACrB,MAAc,EACd,QAAkB,EAClB,OAAe;IAEf,OAAO,GAAG,MAAM,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,OAAO,EAAE,CAAC;AAC5D,CAAC;AAED,KAAK,UAAU,WAAW,CACxB,MAAc,EACd,QAAkB;IAElB,OAAO,eAAe,aAAa,IAAI,MAAM,MAAM,CAAC,UAAU,EAAE,IAAI,QAAQ,GAAG,CAAC;AAClF,CAAC"} \ No newline at end of file diff --git a/lib/upload-lib.js b/lib/upload-lib.js index 0aad17b053..817d88dc66 100644 --- a/lib/upload-lib.js +++ b/lib/upload-lib.js @@ -225,7 +225,7 @@ function buildPayload(commitOid, ref, analysisKey, analysisName, zippedSarif, wo // This behaviour can be made the default when support for GHES 3.0 is discontinued. if (gitHubVersion.type !== util.GitHubVariant.GHES || semver.satisfies(gitHubVersion.version, `>=3.1`)) { - if (process.env.GITHUB_EVENT_NAME === "pull_request") { + if (actionsUtil.workflowEventName() === "pull_request") { if (commitOid === util.getRequiredEnvParam("GITHUB_SHA") && mergeBaseCommitOid) { // We're uploading results for the merge commit diff --git a/lib/upload-lib.js.map b/lib/upload-lib.js.map index ee301c323a..b568bf9f08 100644 --- a/lib/upload-lib.js.map +++ b/lib/upload-lib.js.map @@ -1 +1 @@ -{"version":3,"file":"upload-lib.js","sourceRoot":"","sources":["../src/upload-lib.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,gDAAwB;AAExB,oDAAsC;AAEtC,wDAA+B;AAC/B,uDAAyC;AACzC,+CAAiC;AAEjC,4DAA8C;AAC9C,kDAAoC;AACpC,6DAA+C;AAE/C,6CAAiE;AACjE,gEAAkD;AAClD,6CAA+B;AAG/B,mEAAmE;AACnE,qDAAqD;AACrD,SAAgB,iBAAiB,CAAC,UAAoB;IACpD,MAAM,aAAa,GAAc;QAC/B,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,EAAE;KACT,CAAC;IAEF,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE;QAClC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAC5B,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,CACtB,CAAC;QACf,sBAAsB;QACtB,IAAI,aAAa,CAAC,OAAO,KAAK,IAAI,EAAE;YAClC,aAAa,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC;SAC7C;aAAM,IAAI,aAAa,CAAC,OAAO,KAAK,WAAW,CAAC,OAAO,EAAE;YACxD,MAAM,IAAI,KAAK,CACb,yCAAyC,aAAa,CAAC,OAAO,QAAQ,WAAW,CAAC,OAAO,EAAE,CAC5F,CAAC;SACH;QAED,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;KAC9C;IAED,O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gBAC/B,MAAM,IAAI,KAAK,CACb,2HAA2H;oBACzH,sHAAsH;oBACtH,gFAAgF;oBAChF,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,GAAG,CACpE,CAAC;aACH;YACD,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;SACrD;KACF;AACH,CAAC;AA3BD,wDA2BC;AAED;;;;;;;;GAQG;AACH,SAAS,QAAQ,CAAC,GAAY;IAC5B,OAAO,CAAC,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,GAAG,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC,iBAAiB,EAAE,CAAC;AACzE,CAAC"} \ No newline at end of file From 063e08370511983e28cb123de3079db341eae7f6 Mon Sep 17 00:00:00 2001 From: David Verdeguer Date: Wed, 7 Sep 2022 22:45:34 +0200 Subject: [PATCH 34/44] Fix linting --- lib/actions-util.js.map | 2 +- src/actions-util.test.ts | 2 +- src/actions-util.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/actions-util.js.map b/lib/actions-util.js.map index fc7e1d0258..fb9cb1e490 100644 --- a/lib/actions-util.js.map +++ b/lib/actions-util.js.map @@ -1 +1 @@ -{"version":3,"file":"actions-util.js","sourceRoot":"","sources":["../src/actions-util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,kEAAoD;AACpD,8CAAgC;AAEhC,kDAAoC;AAEpC,gEAAkD;AAClD,iCAUgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC;;;GAGG;AAEH;;;;;;GAMG;AACH,SAAgB,gBAAgB,CAAC,IAAY;I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;aACF;QACH,CAAC,CAAC;QACF,YAAY,CAAC,aAAa,CAAC,CAAC;KAC7B;AACH,CAAC;AA7BD,wCA6BC"} \ No newline at end of file +{"version":3,"file":"actions-util.js","sourceRoot":"","sources":["../src/actions-util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,kEAAoD;AACpD,8CAAgC;AAEhC,kDAAoC;AAEpC,gEAAkD;AAClD,iCAUgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC;;;GAGG;AAEH;;;;;;GAMG;AACH,SAAgB,gBAAgB,CAAC,IAAY;IAC3C,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;AACjD,CAAC;AAFD,4CAEC;AAED;;;;;;GAMG;AACI,MAAM,gBAAgB,GAAG,UAAU,IAAY;IACpD,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAClC,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9C,CAAC,CAAC;AAHW,QAAA,gBAAgB,oBAG3B;AAEF,SAAgB,qBAAqB;IACnC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAChD,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE;QACxC,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,IAAA,0BAAmB,EAAC,aAAa,CAAC,CAAC;AACzC,CAAC;AALD,sDAKC;AAED;;GAEG;AACI,MAAM,YAAY,GAAG,KAAK,WAC/B,YAAoB,EACpB,GAAG,GAAG,MAAM;IAEZ,mEAAmE;IACnE,8EAA8E;IAC9E,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AAE,EAAE;oBAClB,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;oBACnD,IAAI,CAAC,UAAU,CACb,uBAAuB,QAAQ,MAAM,KAAK,CAAC,IAAI,sBAAsB,YAAY,EAAE,CACpF,CAAC;oBACF,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAC;oBACpD,IAAI,CAAC,QAAQ,EAAE,CAAC;iBACjB;qBAAM,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE;oBAC9B,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;iBAC7C;aACF;QACH,CAAC,CAAC;QACF,YAAY,CAAC,aAAa,CAAC,CAAC;KAC7B;AACH,CAAC;AA7BD,wCA6BC"} \ No newline at end of file diff --git a/src/actions-util.test.ts b/src/actions-util.test.ts index 5b2437b0b7..8a810dfd1c 100644 --- a/src/actions-util.test.ts +++ b/src/actions-util.test.ts @@ -785,4 +785,4 @@ test("workflowEventName()", async (t) => { process.env["CODESCANNING_EVENT_NAME"] = "push"; t.deepEqual(actionsutil.workflowEventName(), "push"); -}); \ No newline at end of file +}); diff --git a/src/actions-util.ts b/src/actions-util.ts index f6ee5c1688..17b521af79 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -828,7 +828,7 @@ export function workflowEventName() { if (value === undefined || value.length === 0) { return process.env["GITHUB_EVENT_NAME"]; } - return value + return value; } return process.env["GITHUB_EVENT_NAME"]; } From 4fa3e8b483167284ded797995287aaad85da59a5 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 7 Sep 2022 14:36:38 -0700 Subject: [PATCH 35/44] Gate the new `registries` input behind version constraints --- lib/codeql.js | 3 ++- lib/codeql.js.map | 2 +- lib/config-utils.js | 3 +++ lib/config-utils.js.map | 2 +- src/codeql.ts | 1 + src/config-utils.ts | 9 +++++++++ 6 files changed, 17 insertions(+), 3 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index 45c70fb234..026eaf948e 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -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.getExtraOptions = exports.getCodeQLForTesting = exports.getCachedCodeQL = exports.setCodeQL = exports.getCodeQL = exports.convertToSemVer = exports.getCodeQLURLVersion = exports.setupCodeQL = exports.getCodeQLActionRepository = exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = exports.CODEQL_VERSION_NEW_TRACING = exports.CODEQL_VERSION_CONFIG_FILES = exports.CODEQL_VERSION_ML_POWERED_QUERIES = exports.CODEQL_VERSION_COUNTS_LINES = exports.CODEQL_DEFAULT_ACTION_REPOSITORY = exports.CommandInvocationError = void 0; +exports.getExtraOptions = exports.getCodeQLForTesting = exports.getCachedCodeQL = exports.setCodeQL = exports.getCodeQL = exports.convertToSemVer = exports.getCodeQLURLVersion = exports.setupCodeQL = exports.getCodeQLActionRepository = exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = exports.CODEQL_VERSION_NEW_TRACING = exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = exports.CODEQL_VERSION_CONFIG_FILES = exports.CODEQL_VERSION_ML_POWERED_QUERIES = exports.CODEQL_VERSION_COUNTS_LINES = exports.CODEQL_DEFAULT_ACTION_REPOSITORY = exports.CommandInvocationError = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); @@ -83,6 +83,7 @@ exports.CODEQL_VERSION_ML_POWERED_QUERIES = "2.7.5"; const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; exports.CODEQL_VERSION_CONFIG_FILES = "2.10.1"; const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; +exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.5"; /** * This variable controls using the new style of tracing from the CodeQL * CLI. In particular, with versions above this we will use both indirect diff --git a/lib/codeql.js.map b/lib/codeql.js.map index a29688495b..9b029c78b0 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,sEAAuD;AACvD,8CAAgC;AAChC,gEAAsD;AACtD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAA6E;AAC7E,kDAAoC;AAEpC,0DAA4C,CAAC,2CAA2C;AACxF,mDAAgD;AAChD,mDAA4D;AAC5D,2CAAyD;AAEzD,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;AAC/B,iCAAuC;AAuBvC,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YAAY,GAAW,EAAE,IAAc,EAAE,QAAgB,EAAE,KAAa;QACtE,KAAK,CACH,oBAAoB,GAAG,mBAAmB,IAAI;kBAClC,QAAQ;QAClB,KAAK,EAAE,CACV,CAAC;IACJ,CAAC;CACF;AARD,wDAQC;AAoKD;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD,MAAM,qBAAqB,GAAG,QAAQ,CAAC,aAAa,CAAC;AACxC,QAAA,gCAAgC,GAAG,sBAAsB,CAAC;AAEvE;;;;;;;;GAQG;AACH,MAAM,sBAAsB,GAAG,OAAO,CAAC;AAEvC;;;;GAIG;AACH,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAC5C,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAC3C,MAAM,sBAA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C,KAAK,CAAC;KAC9B;IACD,IAAI,MAAM,CAAC,sBAAsB,CAAC,iBAAiB,EAAE;QACnD,uEAAuE;QACvE,0DAA0D;QAC1D,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC;QAEhE,IAAI,eAAe,CAAC,KAAK,KAAK,SAAS;YAAE,eAAe,CAAC,KAAK,GAAG,EAAE,CAAC;QACpE,IAAI,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;YACxC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACxC;aAAM;YACL,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,UAAU;gBACnC,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;YAC3C,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACtD;KACF;IAED,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7D,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,WAAW,CAAC,GAAQ;IAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.js b/lib/config-utils.js index 8941e1b53e..4356f52016 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -1010,6 +1010,9 @@ async function downloadPacks(codeQL, languages, packs, registries, apiDetails, t let qlconfigFile; let registriesAuthTokens; if (registries) { + if (!(await (0, util_1.codeQlVersionAbove)(codeQL, codeql_1.CODEQL_VERSION_GHES_PACK_DOWNLOAD))) { + throw new Error(`'registries' input is not supported on CodeQL versions less than ${codeql_1.CODEQL_VERSION_GHES_PACK_DOWNLOAD}.`); + } // generate a qlconfig.yml file to hold the registry configs. const qlconfig = createRegistriesBlock(registries); qlconfigFile = path.join(tmpDir, "qlconfig.yml"); diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index e6654ff03e..e30e61204c 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,CACvE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAC9B,CA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AAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAMkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,CACvE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAC9B,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAA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ACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/src/codeql.ts b/src/codeql.ts index 7182db82aa..439c887d15 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -255,6 +255,7 @@ export const CODEQL_VERSION_ML_POWERED_QUERIES = "2.7.5"; const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; export const CODEQL_VERSION_CONFIG_FILES = "2.10.1"; const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; +export const CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.5"; /** * This variable controls using the new style of tracing from the CodeQL diff --git a/src/config-utils.ts b/src/config-utils.ts index 15374b120b..08d2a9b188 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -9,6 +9,7 @@ import * as semver from "semver"; import * as api from "./api-client"; import { CodeQL, + CODEQL_VERSION_GHES_PACK_DOWNLOAD, CODEQL_VERSION_ML_POWERED_QUERIES, CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS, ResolveQueriesOutput, @@ -1842,6 +1843,14 @@ export async function downloadPacks( let qlconfigFile: string | undefined; let registriesAuthTokens: string | undefined; if (registries) { + if ( + !(await codeQlVersionAbove(codeQL, CODEQL_VERSION_GHES_PACK_DOWNLOAD)) + ) { + throw new Error( + `'registries' input is not supported on CodeQL versions less than ${CODEQL_VERSION_GHES_PACK_DOWNLOAD}.` + ); + } + // generate a qlconfig.yml file to hold the registry configs. const qlconfig = createRegistriesBlock(registries); qlconfigFile = path.join(tmpDir, "qlconfig.yml"); From 5dcb9dec2d5e73d2ee53bcad6ecac6bc21c5b0a1 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 7 Sep 2022 14:38:58 -0700 Subject: [PATCH 36/44] Update changelog and input descriptions --- CHANGELOG.md | 3 +-- init/action.yml | 9 +++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2c0ac1f13..2b61fc5eca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,11 @@ ## [UNRELEASED] -No user facing changes. +- Allow CodeQL packs to be downloaded from GitHub Enterprise Server instances, using the new `registries` input for the `init` action. [#1221](https://github.com/github/codeql-action/pull/1221) ## 2.1.22 - 01 Sep 2022 - Downloading CodeQL packs has been moved to the `init` step. Previously, CodeQL packs were downloaded during the `analyze` step. [#1218](https://github.com/github/codeql-action/pull/1218) -- Allow CodeQL packs to be downloaded from GitHub Enterprise Server instances. [#1221](https://github.com/github/codeql-action/pull/1221) - Update default CodeQL bundle version to 2.10.4. [#1224](https://github.com/github/codeql-action/pull/1224) - The newly released [Poetry 1.2](https://python-poetry.org/blog/announcing-poetry-1.2.0) is not yet supported. In the most common case where the CodeQL Action is automatically installing Python dependencies, it will continue to install and use Poetry 1.1 on its own. However, in certain cases such as with self-hosted runners, you may need to ensure Poetry 1.1 is installed yourself. diff --git a/init/action.yml b/init/action.yml index 598b02d825..90e46e586d 100644 --- a/init/action.yml +++ b/init/action.yml @@ -30,14 +30,11 @@ inputs: packages: */* token: \$\{{ secrets.GHCR_TOKEN }} - The url property contains the URL to the container registry you want to connect to. + The `url` property contains the URL to the container registry you want to connect to. - The packages property contains a single entry or a list of globs specifying packages that can be found in the container registry. Order is important. Earlier entries will match before later entries. + The `packages` property contains a single glob string or a list of glob strings, specifying which packages should be retrieved from this particular container registry. Order is important. Earlier entries will match before later entries. - The token property contains a connection token for this registry. - - If this input is missing, the `token` input is used for all pack downloads. - required: false + The `token` property contains a connection token for this registry. required: false matrix: default: ${{ toJson(matrix) }} required: false From aa434aaed678983b46684e635b058969627b1206 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 7 Sep 2022 15:15:55 -0700 Subject: [PATCH 37/44] Only run the init-with-registries check on nightly --- .github/workflows/__init-with-registries.yml | 16 +--------------- pr-checks/checks/init-with-registries.yml | 4 ++-- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 06d8006794..ff2e13a815 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -25,20 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: latest - - os: macos-latest - version: latest - - os: windows-2019 - version: latest - - os: windows-2022 - version: latest - - os: ubuntu-latest - version: cached - - os: macos-latest - version: cached - - os: windows-2019 - version: cached - os: ubuntu-latest version: nightly-latest - os: macos-latest @@ -58,7 +44,7 @@ jobs: uses: ./.github/prepare-test with: version: ${{ matrix.version }} - - name: Init with registries-auth-tokens + - name: Init with registries uses: ./../action/init with: db-location: ${{ runner.temp }}/customDbLocation diff --git a/pr-checks/checks/init-with-registries.yml b/pr-checks/checks/init-with-registries.yml index 6b6cbd1535..6c475d2b57 100644 --- a/pr-checks/checks/init-with-registries.yml +++ b/pr-checks/checks/init-with-registries.yml @@ -4,10 +4,10 @@ # basic mechanics of multi-registry auth is working. name: "Packaging: Download using registries" description: "Checks that specifying a registries block and associated auth works as expected" -versions: ["latest", "cached", "nightly-latest"] # This feature is not compatible with old CLIs +versions: ["nightly-latest"] # This feature is not compatible with old CLIs steps: - - name: Init with registries-auth-tokens + - name: Init with registries uses: ./../action/init with: db-location: "${{ runner.temp }}/customDbLocation" From 59744464eb119b23f70bd793d406b812dae89d93 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 7 Sep 2022 15:26:30 -0700 Subject: [PATCH 38/44] Fix unit tests --- lib/codeql.js | 2 +- lib/config-utils.test.js | 30 ++++++++++++++++++++++ lib/config-utils.test.js.map | 2 +- src/codeql.ts | 2 +- src/config-utils.test.ts | 48 ++++++++++++++++++++++++++++++++++++ 5 files changed, 81 insertions(+), 3 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index 026eaf948e..423b07e64d 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -83,7 +83,7 @@ exports.CODEQL_VERSION_ML_POWERED_QUERIES = "2.7.5"; const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; exports.CODEQL_VERSION_CONFIG_FILES = "2.10.1"; const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; -exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.5"; +exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.4"; /** * This variable controls using the new style of tracing from the CodeQL * CLI. In particular, with versions above this we will use both indirect diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index bda40ec5c9..4cdfe8e67d 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -1149,6 +1149,7 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ }); const codeQL = (0, codeql_1.setCodeQL)({ packDownload: packDownloadStub, + getVersion: () => Promise.resolve("2.10.5"), }); // packs are supplied for go, java, and python // analyzed languages are java, javascript, and python @@ -1172,4 +1173,33 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "not-a-registries-auth"); }); }); +(0, ava_1.default)("downloadPacks-with-registries fails on 2.10.3", async (t) => { + // same thing, but this time include a registries block and + // associated env vars + return await util.withTmpDir(async (tmpDir) => { + process.env.GITHUB_TOKEN = "not-a-token"; + process.env.CODEQL_REGISTRIES_AUTH = "not-a-registries-auth"; + const logger = (0, logging_1.getRunnerLogger)(true); + const registries = [ + { + url: "http://ghcr.io", + packages: ["codeql/*", "dsp-testing/*"], + token: "not-a-token", + }, + { + url: "https://containers.GHEHOSTNAME1/v2/", + packages: "semmle/*", + token: "still-not-a-token", + }, + ]; + const codeQL = (0, codeql_1.setCodeQL)({ + getVersion: () => Promise.resolve("2.10.3"), + }); + await t.throwsAsync(async () => { + /* packs are supplied for go, java, and python*/ + /* analyzed languages are java, javascript, and python*/ + return await configUtils.downloadPacks(codeQL, [languages_1.Language.javascript, languages_1.Language.java, languages_1.Language.python], {}, registries, sampleApiDetails, tmpDir, logger); + }, { instanceOf: Error }, "'registries' input is not supported on CodeQL versions less than 2.10.5."); + }); +}); //# sourceMappingURL=config-utils.test.js.map \ No newline at end of file diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index fcadaf2f07..3e3d555315 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,C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,EAAE,uBAAuB,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC5D,OAAO,cAAc,CAAC;AACxB,CAAC;AAID,SAAS,eAAe,CACtB,OAA4B;IAE5B,kEAAkE;IAClE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG;QACf,IAAI,EAAE,OAAO;KACd,CAAC;IACF,MAAM,cAAc,GAAG,KAAK;SACzB,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC;SAChC,QAAQ,CAAC,QAAe,CAAC,CA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AAO,CAAC,GAAG,CAAC,YAAY,GAAG,aAAa,CAAC;QACzC,OAAO,CAAC,GAAG,CAAC,sBAAsB,GAAG,uBAAuB,CAAC;QAC7D,MAAM,MAAM,GAAG,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC;QAErC,MAAM,UAAU,GAAG;YACjB;gBACE,GAAG,EAAE,gBAAgB;gBACrB,QAAQ,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;gBACvC,KAAK,EAAE,aAAa;aACrB;YACD;gBACE,GAAG,EAAE,qCAAqC;gBAC1C,QAAQ,EAAE,UAAU;gBACpB,KAAK,EAAE,mBAAmB;aAC3B;SACF,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,kBAAS,EAAC;YACvB,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC;SAC5C,CAAC,CAAC;QACH,MAAM,CAAC,CAAC,WAAW,CACjB,KAAK,IAAI,EAAE;YAIP,gDAAgD;YAChD,wDAAwD;YACxD,OAAO,MAAM,WAAW,CAAC,aAAa,CACpC,MAAM,EACN,CAAC,oBAAQ,CAAC,UAAU,EAAE,oBAAQ,CAAC,IAAI,EAAE,oBAAQ,CAAC,MAAM,CAAC,EACrD,EAAE,EACF,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,MAAM,CACP,CAAC;QACJ,CAAC,EACH,EAAE,UAAU,EAAE,KAAK,EAAE,EACrB,0EAA0E,CAC3E,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/codeql.ts b/src/codeql.ts index 439c887d15..b1691065c4 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -255,7 +255,7 @@ export const CODEQL_VERSION_ML_POWERED_QUERIES = "2.7.5"; const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; export const CODEQL_VERSION_CONFIG_FILES = "2.10.1"; const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; -export const CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.5"; +export const CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.4"; /** * This variable controls using the new style of tracing from the CodeQL diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 7f8dc337d2..9265b44a6c 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -2314,6 +2314,7 @@ test("downloadPacks-with-registries", async (t) => { const codeQL = setCodeQL({ packDownload: packDownloadStub, + getVersion: () => Promise.resolve("2.10.5"), }); // packs are supplied for go, java, and python @@ -2348,3 +2349,50 @@ test("downloadPacks-with-registries", async (t) => { t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "not-a-registries-auth"); }); }); + +test("downloadPacks-with-registries fails on 2.10.3", async (t) => { + // same thing, but this time include a registries block and + // associated env vars + return await util.withTmpDir(async (tmpDir) => { + process.env.GITHUB_TOKEN = "not-a-token"; + process.env.CODEQL_REGISTRIES_AUTH = "not-a-registries-auth"; + const logger = getRunnerLogger(true); + + const registries = [ + { + url: "http://ghcr.io", + packages: ["codeql/*", "dsp-testing/*"], + token: "not-a-token", + }, + { + url: "https://containers.GHEHOSTNAME1/v2/", + packages: "semmle/*", + token: "still-not-a-token", + }, + ]; + + const codeQL = setCodeQL({ + getVersion: () => Promise.resolve("2.10.3"), + }); + await t.throwsAsync( + async () => + // packs are supplied for go, java, and python + // analyzed languages are java, javascript, and python + { + /* packs are supplied for go, java, and python*/ + /* analyzed languages are java, javascript, and python*/ + return await configUtils.downloadPacks( + codeQL, + [Language.javascript, Language.java, Language.python], + {}, + registries, + sampleApiDetails, + tmpDir, + logger + ); + }, + { instanceOf: Error }, + "'registries' input is not supported on CodeQL versions less than 2.10.5." + ); + }); +}); From 6085805a3adc1dadfce265403aa9ffc828d568a8 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 7 Sep 2022 20:32:47 -0700 Subject: [PATCH 39/44] Append `/` to end of registries url Avoids a bug in 2.10.4. Also, add some better handling for invalid registries blocks. --- CHANGELOG.md | 2 +- lib/config-utils.js | 7 ++- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 40 +++++++++++++++-- lib/config-utils.test.js.map | 2 +- src/config-utils.test.ts | 84 +++++++++++++++++++++++++++--------- src/config-utils.ts | 12 +++++- 7 files changed, 119 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b61fc5eca..c3cbd4bf7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,7 +42,7 @@ No user facing changes. ## 2.1.15 - 28 Jun 2022 - CodeQL query packs listed in the `packs` configuration field will be skipped if their target language is not being analyzed in the current Actions job. Previously, this would throw an error. [#1116](https://github.com/github/codeql-action/pull/1116) -- The combination of python2 and poetry is no longer supported. See https://github.com/actions/setup-python/issues/374 for more details. [#1124](https://github.com/github/codeql-action/pull/1124) +- The combination of python2 and poetry is no longer supported. See for more details. [#1124](https://github.com/github/codeql-action/pull/1124) - Update default CodeQL bundle version to 2.10.0. [#1123](https://github.com/github/codeql-action/pull/1123) ## 2.1.14 - 22 Jun 2022 diff --git a/lib/config-utils.js b/lib/config-utils.js index 4356f52016..df247df561 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -1049,9 +1049,14 @@ async function downloadPacks(codeQL, languages, packs, registries, apiDetails, t } exports.downloadPacks = downloadPacks; function createRegistriesBlock(registries) { + if (!Array.isArray(registries) || + registries.some((r) => !r.url || !r.packages)) { + throw new Error("Invalid 'registries' input. Must be an array of objects with 'url' and 'packages' properties."); + } // be sure to remove the `token` field from the registry before writing it to disk. const safeRegistries = registries.map((registry) => ({ - url: registry.url, + // ensure the url ends with a slash to avoid a bug in the CLI 2.10.4 + url: !(registry === null || registry === void 0 ? void 0 : registry.url.endsWith("/")) ? `${registry.url}/` : registry.url, packages: registry.packages, })); const qlconfig = { diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index e30e61204c..583c8ab3eb 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAMkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,CACvE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAC9B,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,eAAe,CAAC,eAAqC;IAC5D,MAAM,kBAAkB,GAAG,eAAe,CAAC,kBAAkB,CAAC;IAC9D,MAA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AE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAMkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,CACvE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAC9B,CAAC;AACJ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QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;;;;;;GAWG;AACH,KAAK,UAAU,eAAe,CAC5B,GAAuC,EACvC,SAAmB;IAEnB,4BAA4B;IAC5B,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAElC,kBAAkB;IAClB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index 4cdfe8e67d..4879829609 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -1123,16 +1123,23 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ const logger = (0, logging_1.getRunnerLogger)(true); const registries = [ { + // no slash url: "http://ghcr.io", packages: ["codeql/*", "dsp-testing/*"], token: "not-a-token", }, { + // with slash url: "https://containers.GHEHOSTNAME1/v2/", packages: "semmle/*", token: "still-not-a-token", }, ]; + // append a slash to the first url + const expectedRegistries = registries.map((r, i) => ({ + packages: r.packages, + url: i === 0 ? `${r.url}/` : r.url, + })); const expectedConfigFile = path.join(tmpDir, "qlconfig.yml"); const packDownloadStub = sinon.stub(); packDownloadStub.callsFake((packs, configFile) => { @@ -1142,7 +1149,7 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-not-a-token"); // verify the config file contents were set correctly const config = yaml.load(fs.readFileSync(configFile, "utf8")); - t.deepEqual(config.registries, registries.map((r) => ({ url: r.url, packages: r.packages }))); + t.deepEqual(config.registries, expectedRegistries); return { packs, }; @@ -1196,10 +1203,35 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({ getVersion: () => Promise.resolve("2.10.3"), }); await t.throwsAsync(async () => { - /* packs are supplied for go, java, and python*/ - /* analyzed languages are java, javascript, and python*/ return await configUtils.downloadPacks(codeQL, [languages_1.Language.javascript, languages_1.Language.java, languages_1.Language.python], {}, registries, sampleApiDetails, tmpDir, logger); - }, { instanceOf: Error }, "'registries' input is not supported on CodeQL versions less than 2.10.5."); + }, { instanceOf: Error }, "'registries' input is not supported on CodeQL versions less than 2.10.4."); + }); +}); +(0, ava_1.default)("downloadPacks-with-registries fails with invalid registries block", async (t) => { + // same thing, but this time include a registries block and + // associated env vars + return await util.withTmpDir(async (tmpDir) => { + process.env.GITHUB_TOKEN = "not-a-token"; + process.env.CODEQL_REGISTRIES_AUTH = "not-a-registries-auth"; + const logger = (0, logging_1.getRunnerLogger)(true); + const registries = [ + { + // missing url property + packages: ["codeql/*", "dsp-testing/*"], + token: "not-a-token", + }, + { + url: "https://containers.GHEHOSTNAME1/v2/", + packages: "semmle/*", + token: "still-not-a-token", + }, + ]; + const codeQL = (0, codeql_1.setCodeQL)({ + getVersion: () => Promise.resolve("2.10.4"), + }); + await t.throwsAsync(async () => { + return await configUtils.downloadPacks(codeQL, [languages_1.Language.javascript, languages_1.Language.java, languages_1.Language.python], {}, registries, sampleApiDetails, tmpDir, logger); + }, { instanceOf: Error }, "Invalid 'registries' input. Must be an array of objects with 'url' and 'packages' properties."); }); }); //# sourceMappingURL=config-utils.test.js.map \ No newline at end of file diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index 3e3d555315..8443d2b452 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC5D,OAAO,cAAc,CAAC;AACxB,CAAC;AAID,SAAS,eAAe,CACtB,OAA4B;IAE5B,kEAAkE;IAClE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG;QACf,IAAI,EAAE,OAAO;KACd,CAAC;IACF,MAAM,cAAc,GAAG,KAAK;SACzB,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC;SAChC,QAAQ,CAAC,QAAe,CAAC,CAAC;IAC7B,KAAK,CAAC,IAAI,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GAAG,aAAa,CAAC;QACzC,OAAO,CAAC,GAAG,CAAC,sBAAsB,GAAG,uBAAuB,CAAC;QAC7D,MAAM,MAAM,GAAG,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC;QAErC,MAAM,UAAU,GAAG;YACjB;gBACE,GAAG,EAAE,gBAAgB;gBACrB,QAAQ,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;gBACvC,KAAK,EAAE,aAAa;aACrB;YACD;gBACE,GAAG,EAAE,qCAAqC;gBAC1C,QAAQ,EAAE,UAAU;gBACpB,KAAK,EAAE,mBAAmB;aAC3B;SACF,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,kBAAS,EAAC;YACvB,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC;SAC5C,CAAC,CAAC;QACH,MAAM,CAAC,CAAC,WAAW,CACjB,KAAK,IAAI,EAAE;YAIP,gDAAgD;YAChD,wDAAwD;YACxD,OAAO,MAAM,WAAW,CAAC,aAAa,CACpC,MAAM,EACN,CAAC,oBAAQ,CAAC,UAAU,EAAE,oBAAQ,CAAC,IAAI,EAAE,oBAAQ,CAAC,MAAM,CAAC,EACrD,EAAE,EACF,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,MAAM,CACP,CAAC;QACJ,CAAC,EACH,EAAE,UAAU,EAAE,KAAK,EAAE,EACrB,0EAA0E,CAC3E,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAA0E;AAC1E,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6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C;gBAC1C,QAAQ,EAAE,UAAU;gBACpB,KAAK,EAAE,mBAAmB;aAC3B;SACF,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,kBAAS,EAAC;YACvB,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC;SAC5C,CAAC,CAAC;QACH,MAAM,CAAC,CAAC,WAAW,CACjB,KAAK,IAAI,EAAE;YACT,OAAO,MAAM,WAAW,CAAC,aAAa,CACpC,MAAM,EACN,CAAC,oBAAQ,CAAC,UAAU,EAAE,oBAAQ,CAAC,IAAI,EAAE,oBAAQ,CAAC,MAAM,CAAC,EACrD,EAAE,EACF,UAAiB,EACjB,gBAAgB,EAChB,MAAM,EACN,MAAM,CACP,CAAC;QACJ,CAAC,EACD,EAAE,UAAU,EAAE,KAAK,EAAE,EACrB,+FAA+F,CAChG,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 9265b44a6c..9486fcbf38 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -2277,17 +2277,25 @@ test("downloadPacks-with-registries", async (t) => { const registries = [ { + // no slash url: "http://ghcr.io", packages: ["codeql/*", "dsp-testing/*"], token: "not-a-token", }, { + // with slash url: "https://containers.GHEHOSTNAME1/v2/", packages: "semmle/*", token: "still-not-a-token", }, ]; + // append a slash to the first url + const expectedRegistries = registries.map((r, i) => ({ + packages: r.packages, + url: i === 0 ? `${r.url}/` : r.url, + })); + const expectedConfigFile = path.join(tmpDir, "qlconfig.yml"); const packDownloadStub = sinon.stub(); packDownloadStub.callsFake((packs, configFile) => { @@ -2303,10 +2311,7 @@ test("downloadPacks-with-registries", async (t) => { const config = yaml.load(fs.readFileSync(configFile, "utf8")) as { registries: configUtils.RegistryConfigNoCredentials[]; }; - t.deepEqual( - config.registries, - registries.map((r) => ({ url: r.url, packages: r.packages })) - ); + t.deepEqual(config.registries, expectedRegistries); return { packs, }; @@ -2375,24 +2380,61 @@ test("downloadPacks-with-registries fails on 2.10.3", async (t) => { getVersion: () => Promise.resolve("2.10.3"), }); await t.throwsAsync( - async () => - // packs are supplied for go, java, and python - // analyzed languages are java, javascript, and python - { - /* packs are supplied for go, java, and python*/ - /* analyzed languages are java, javascript, and python*/ - return await configUtils.downloadPacks( - codeQL, - [Language.javascript, Language.java, Language.python], - {}, - registries, - sampleApiDetails, - tmpDir, - logger - ); - }, + async () => { + return await configUtils.downloadPacks( + codeQL, + [Language.javascript, Language.java, Language.python], + {}, + registries, + sampleApiDetails, + tmpDir, + logger + ); + }, + { instanceOf: Error }, + "'registries' input is not supported on CodeQL versions less than 2.10.4." + ); + }); +}); + +test("downloadPacks-with-registries fails with invalid registries block", async (t) => { + // same thing, but this time include a registries block and + // associated env vars + return await util.withTmpDir(async (tmpDir) => { + process.env.GITHUB_TOKEN = "not-a-token"; + process.env.CODEQL_REGISTRIES_AUTH = "not-a-registries-auth"; + const logger = getRunnerLogger(true); + + const registries = [ + { + // missing url property + packages: ["codeql/*", "dsp-testing/*"], + token: "not-a-token", + }, + { + url: "https://containers.GHEHOSTNAME1/v2/", + packages: "semmle/*", + token: "still-not-a-token", + }, + ]; + + const codeQL = setCodeQL({ + getVersion: () => Promise.resolve("2.10.4"), + }); + await t.throwsAsync( + async () => { + return await configUtils.downloadPacks( + codeQL, + [Language.javascript, Language.java, Language.python], + {}, + registries as any, + sampleApiDetails, + tmpDir, + logger + ); + }, { instanceOf: Error }, - "'registries' input is not supported on CodeQL versions less than 2.10.5." + "Invalid 'registries' input. Must be an array of objects with 'url' and 'packages' properties." ); }); }); diff --git a/src/config-utils.ts b/src/config-utils.ts index 08d2a9b188..7c431e329e 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -1900,9 +1900,19 @@ export async function downloadPacks( function createRegistriesBlock(registries: RegistryConfigWithCredentials[]): { registries: RegistryConfigNoCredentials[]; } { + if ( + !Array.isArray(registries) || + registries.some((r) => !r.url || !r.packages) + ) { + throw new Error( + "Invalid 'registries' input. Must be an array of objects with 'url' and 'packages' properties." + ); + } + // be sure to remove the `token` field from the registry before writing it to disk. const safeRegistries = registries.map((registry) => ({ - url: registry.url, + // ensure the url ends with a slash to avoid a bug in the CLI 2.10.4 + url: !registry?.url.endsWith("/") ? `${registry.url}/` : registry.url, packages: registry.packages, })); const qlconfig = { From 4a8d26e2bd2c438d0b55dffe074621b5e67c3757 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 8 Sep 2022 18:29:45 +0100 Subject: [PATCH 40/44] Bump CodeQL version to 2.10.5 --- lib/defaults.json | 2 +- src/defaults.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/defaults.json b/lib/defaults.json index 4d06bce515..507d26f25b 100644 --- a/lib/defaults.json +++ b/lib/defaults.json @@ -1,3 +1,3 @@ { - "bundleVersion": "codeql-bundle-20220825" + "bundleVersion": "codeql-bundle-20220908" } diff --git a/src/defaults.json b/src/defaults.json index 4158343c54..4f9c896681 100644 --- a/src/defaults.json +++ b/src/defaults.json @@ -1,3 +1,3 @@ { - "bundleVersion": "codeql-bundle-20220825" + "bundleVersion": "codeql-bundle-20220908" } From ff575f231de8f28db583c5ba58ec711b443d4f37 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 8 Sep 2022 18:31:08 +0100 Subject: [PATCH 41/44] Add changelog note --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3cbd4bf7a..ae515e9923 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [UNRELEASED] - Allow CodeQL packs to be downloaded from GitHub Enterprise Server instances, using the new `registries` input for the `init` action. [#1221](https://github.com/github/codeql-action/pull/1221) +- Update default CodeQL bundle version to 2.10.5. [#1240](https://github.com/github/codeql-action/pull/1240) ## 2.1.22 - 01 Sep 2022 From 3038e979a8623e0c49cd591f18cdc1222a2b675c Mon Sep 17 00:00:00 2001 From: Cornelius Riemenschneider Date: Tue, 13 Sep 2022 11:19:13 +0000 Subject: [PATCH 42/44] Remove the lua tracer feature flag check from the codeql-action. Always defer to the CLI on the Lua tracer state from now on. --- lib/analyze.js | 2 +- lib/analyze.js.map | 2 +- lib/analyze.test.js | 82 ------------------------ lib/analyze.test.js.map | 2 +- lib/codeql.js | 36 ++++------- lib/codeql.js.map | 2 +- lib/codeql.test.js | 30 --------- lib/codeql.test.js.map | 2 +- lib/feature-flags.js | 1 - lib/feature-flags.js.map | 2 +- lib/feature-flags.test.js | 6 +- lib/feature-flags.test.js.map | 2 +- src/analyze.test.ts | 117 +--------------------------------- src/analyze.ts | 2 +- src/codeql.test.ts | 96 ---------------------------- src/codeql.ts | 65 ++++++------------- src/feature-flags.test.ts | 8 +-- src/feature-flags.ts | 1 - 18 files changed, 43 insertions(+), 415 deletions(-) diff --git a/lib/analyze.js b/lib/analyze.js index 876216a846..951b011336 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -81,7 +81,7 @@ async function createdDBForScannedLanguages(codeql, config, logger, featureFlags if (language === languages_1.Language.python) { await setupPythonExtractor(logger); } - await codeql.extractScannedLanguage(config, language, featureFlags); + await codeql.extractScannedLanguage(config, language); logger.endGroup(); } } diff --git a/lib/analyze.js.map b/lib/analyze.js.map index a7eac59cf7..2c3b9b23ca 100644 --- a/lib/analyze.js.map +++ b/lib/analyze.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC,CAAC,6CAA6C;AAEvF,yEAA2D;AAC3D,8CAAsB;AACtB,8CAAgC;AAGhC,gEAAkD;AAClD,qCAKkB;AAClB,4DAA8C;AAC9C,2CAAuC;AAEvC,2CAA0D;AAE1D,gEAAkD;AAClD,mDAAuD;AACvD,6CAA+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ACjE,EAAE,CACH,EAAE,CACJ,CAAC;SACH;KACF;IAED,IAAI,MAAM,CAAC,MAAM,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAChE;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAjCD,oDAiCC"} \ No newline at end of file diff --git a/lib/analyze.test.js b/lib/analyze.test.js index ad2f1d8159..0a5d1dd5bb 100644 --- a/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -24,14 +24,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const fs = __importStar(require("fs")); const path = __importStar(require("path")); -const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); const ava_1 = __importDefault(require("ava")); const yaml = __importStar(require("js-yaml")); const sinon = __importStar(require("sinon")); const analyze_1 = require("./analyze"); const codeql_1 = require("./codeql"); const count = __importStar(require("./count-loc")); -const feature_flags_1 = require("./feature-flags"); const languages_1 = require("./languages"); const logging_1 = require("./logging"); const testing_utils_1 = require("./testing-utils"); @@ -354,84 +352,4 @@ const convertPackToQuerySuiteEntryMacro = ava_1.default.macro({ `; t.deepEqual(yamlResult, expected); }); -const stubConfig = { - languages: [languages_1.Language.cpp, languages_1.Language.go], - queries: {}, - pathsIgnore: [], - paths: [], - originalUserInput: {}, - tempDir: "", - codeQLCmd: "", - gitHubVersion: { - type: util.GitHubVariant.DOTCOM, - }, - dbLocation: "", - packs: {}, - debugMode: false, - debugArtifactName: util.DEFAULT_DEBUG_ARTIFACT_NAME, - debugDatabaseName: util.DEFAULT_DEBUG_DATABASE_NAME, - augmentationProperties: { - injectedMlQueries: false, - packsInputCombines: false, - queriesInputCombines: false, - }, - trapCaches: {}, - trapCacheDownloadTime: 0, -}; -for (const options of [ - { - name: "Lua feature flag enabled, but old CLI", - version: "2.9.0", - featureFlags: [feature_flags_1.FeatureFlag.LuaTracerConfigEnabled], - yesFlagSet: false, - noFlagSet: false, - }, - { - name: "Lua feature flag disabled, with old CLI", - version: "2.9.0", - featureFlags: [], - yesFlagSet: false, - noFlagSet: false, - }, - { - name: "Lua feature flag enabled, with new CLI", - version: "2.10.0", - featureFlags: [feature_flags_1.FeatureFlag.LuaTracerConfigEnabled], - yesFlagSet: true, - noFlagSet: false, - }, - { - name: "Lua feature flag disabled, with new CLI", - version: "2.10.0", - featureFlags: [], - yesFlagSet: false, - noFlagSet: true, - }, -]) { - (0, ava_1.default)(`createdDBForScannedLanguages() ${options.name}`, async (t) => { - const runnerObjectStub = sinon.createStubInstance(toolrunner.ToolRunner); - runnerObjectStub.exec.resolves(0); - const runnerConstructorStub = sinon.stub(toolrunner, "ToolRunner"); - runnerConstructorStub.callsFake((_toolPath, args, execOptions) => { - // Call listener on `codeql resolve extractor` - if (args[0] === "resolve" && args[1] === "extractor") { - const func = execOptions.listeners.stdout; - t.truthy(func, "stdout listener is defined"); - func(Buffer.from('"/path/to/extractor"')); - } - return runnerObjectStub; - }); - const codeqlObject = await (0, codeql_1.getCodeQLForTesting)("codeql/for-testing"); - sinon.stub(codeqlObject, "getVersion").resolves(options.version); - await (0, analyze_1.createdDBForScannedLanguages)(codeqlObject, stubConfig, (0, logging_1.getRunnerLogger)(true), (0, feature_flags_1.createFeatureFlags)(options.featureFlags)); - if (options.yesFlagSet) - t.true(runnerConstructorStub.secondCall.args[1].includes("--internal-use-lua-tracing"), "--internal-use-lua-tracing should be present, but it is absent"); - else - t.false(runnerConstructorStub.secondCall.args[1].includes("--internal-use-lua-tracing"), "--internal-use-lua-tracing should be absent, but it is present"); - if (options.noFlagSet) - t.true(runnerConstructorStub.secondCall.args[1].includes("--no-internal-use-lua-tracing"), "--no-internal-use-lua-tracing should be present, but it is absent"); - else - t.false(runnerConstructorStub.secondCall.args[1].includes("--no-internal-use-lua-tracing"), "--no-internal-use-lua-tracing should be absent, but it is present"); - }); -} //# sourceMappingURL=analyze.test.js.map \ No newline at end of file diff --git a/lib/analyze.test.js.map b/lib/analyze.test.js.map index d6651392bd..322a3e78ee 100644 --- a/lib/analyze.test.js.map +++ b/lib/analyze.test.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.test.js","sourceRoot":"","sources":["../src/analyze.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAG7B,yEAA2D;AAC3D,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,uCAMmB;AACnB,qCAA0D;AAE1D,mDAAqC;AACrC,mDAAkE;AAClE,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA+D;AAC/D,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,yEAAyE;AACzE,wEAAwE;AACxE,oDAAoD;AACpD,IAAA,aAAI,EAAC,8CAA8C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC/D,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE;QACtE,+CAA+C;QAC/C,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAClB,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IACxD,IAAI,eAAe,GAA8B,EAAE,CAAC;IACpD,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAC5C,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAEjC,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,MAAM,eAAe,GAAG,EAAE,CAAC;QAC3B,MAAM,WAAW,GAAG,EAAE,CAAC;QACvB,MAAM,KAAK,GAAG;YACZ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B,EAAE,gBAAgB,EAAE;SAClD;QACD;YACE,OAAO,EAAE,EAAE,kBAAkB,EAAE,gBAAgB,EAAE;SAClD;KACF,CACF,CAAC;IACF,MAAM,QAAQ,GAAG;;;;;;CAMlB,CAAC;IAEA,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/codeql.js b/lib/codeql.js index 423b07e64d..39b3e204a8 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -503,20 +503,16 @@ async function getCodeQLForCmd(cmd, checkVersion) { // because that always passes in a process name. extraArgs.push(`--trace-process-level=${processLevel || 3}`); } - if (await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACER_CONFIG)) { - if ((await featureFlags.getValue(feature_flags_1.FeatureFlag.LuaTracerConfigEnabled)) && - // There's a bug in Lua tracing for Go on Windows in versions earlier than - // `CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED`, so don't use Lua tracing - // when tracing Go on Windows on these CodeQL versions. - (!config.languages.includes(languages_1.Language.go) || - !(0, languages_1.isTracedLanguage)(languages_1.Language.go, isGoExtractionReconciliationEnabled, logger) || - process.platform !== "win32" || - (await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED)))) { - extraArgs.push("--internal-use-lua-tracing"); - } - else { - extraArgs.push("--no-internal-use-lua-tracing"); - } + if ( + // There's a bug in Lua tracing for Go on Windows in versions earlier than + // `CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED`, so don't use Lua tracing + // when tracing Go on Windows on these CodeQL versions. + (await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACER_CONFIG)) && + config.languages.includes(languages_1.Language.go) && + (0, languages_1.isTracedLanguage)(languages_1.Language.go, isGoExtractionReconciliationEnabled, logger) && + process.platform === "win32" && + !(await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED))) { + extraArgs.push("--no-internal-use-lua-tracing"); } } const configLocation = await generateCodescanningConfig(codeql, config); @@ -562,7 +558,7 @@ async function getCodeQLForCmd(cmd, checkVersion) { // (https://github.com/actions/runner/pull/416). await runTool(autobuildCmd); }, - async extractScannedLanguage(config, language, featureFlags) { + async extractScannedLanguage(config, language) { const databasePath = util.getCodeQLDatabasePath(config, language); // Get extractor location let extractorPath = ""; @@ -586,20 +582,10 @@ async function getCodeQLForCmd(cmd, checkVersion) { // Set trace command const ext = process.platform === "win32" ? ".cmd" : ".sh"; const traceCommand = path.resolve(JSON.parse(extractorPath), "tools", `autobuild${ext}`); - const extraArgs = []; - if (await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACER_CONFIG)) { - if (await featureFlags.getValue(feature_flags_1.FeatureFlag.LuaTracerConfigEnabled)) { - extraArgs.push("--internal-use-lua-tracing"); - } - else { - extraArgs.push("--no-internal-use-lua-tracing"); - } - } // Run trace command await (0, toolrunner_error_catcher_1.toolrunnerErrorCatcher)(cmd, [ "database", "trace-command", - ...extraArgs, ...(await (0, trap_caching_1.getTrapCachingExtractorConfigArgsForLang)(config, language)), ...getExtraOptionsFromEnv(["database", "trace-command"]), databasePath, diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 9b029c78b0..5557201260 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,sEAAuD;AACvD,8CAAgC;AAChC,gEAAsD;AACtD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAA6E;AAC7E,kDAAoC;AAEpC,0DAA4C,CAAC,2CAA2C;AACxF,mDAAgD;AAChD,mDAA4D;AAC5D,2CAAyD;AAEzD,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;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I,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,EAAE;QACzE,OAAO,eAAe,CAAC,KAAK,CAAC;KAC9B;IACD,IAAI,MAAM,CAAC,sBAAsB,CAAC,iBAAiB,EAAE;QACnD,uEAAuE;QACvE,0DAA0D;QAC1D,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC;QAEhE,IAAI,eAAe,CAAC,KAAK,KAAK,SAAS;YAAE,eAAe,CAAC,KAAK,GAAG,EAAE,CAAC;QACpE,IAAI,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;YACxC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACxC;aAAM;YACL,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,UAAU;gBACnC,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;YAC3C,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACtD;KACF;IAED,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7D,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,WAAW,CAAC,GAAQ;IAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index 64c74fdf4b..6cec22e08c 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -303,36 +303,6 @@ for (const [isFeatureFlagEnabled, toolsInput, shouldToolcacheBeBypassed,] of TOO await codeqlObject.databaseInterpretResults("", [], "", "", "", "-v", ""); t.true(runnerConstructorStub.firstCall.args[1].includes("--sarif-add-query-help"), "--sarif-add-query-help should be present, but it is absent"); }); -(0, ava_1.default)("databaseInitCluster() Lua feature flag enabled, but old CLI", async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); - const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.9.0"); - await codeqlObject.databaseInitCluster(stubConfig, "", undefined, undefined, (0, feature_flags_1.createFeatureFlags)([feature_flags_1.FeatureFlag.LuaTracerConfigEnabled]), (0, logging_1.getRunnerLogger)(true)); - t.false(runnerConstructorStub.firstCall.args[1].includes("--internal-use-lua-tracing"), "--internal-use-lua-tracing should be absent, but it is present"); - t.false(runnerConstructorStub.firstCall.args[1].includes("--no-internal-use-lua-tracing"), "--no-internal-use-lua-tracing should be absent, but it is present"); -}); -(0, ava_1.default)("databaseInitCluster() Lua feature flag disabled, with old CLI", async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); - const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.9.0"); - await codeqlObject.databaseInitCluster(stubConfig, "", undefined, undefined, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); - t.false(runnerConstructorStub.firstCall.args[1].includes("--internal-use-lua-tracing"), "--internal-use-lua-tracing should be absent, but it is present"); - t.false(runnerConstructorStub.firstCall.args[1].includes("--no-internal-use-lua-tracing"), "--no-internal-use-lua-tracing should be absent, but it is present"); -}); -(0, ava_1.default)("databaseInitCluster() Lua feature flag enabled, compatible CLI", async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); - const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.10.0"); - await codeqlObject.databaseInitCluster(stubConfig, "", undefined, undefined, (0, feature_flags_1.createFeatureFlags)([feature_flags_1.FeatureFlag.LuaTracerConfigEnabled]), (0, logging_1.getRunnerLogger)(true)); - t.true(runnerConstructorStub.firstCall.args[1].includes("--internal-use-lua-tracing"), "--internal-use-lua-tracing should be present, but it is absent"); -}); -(0, ava_1.default)("databaseInitCluster() Lua feature flag disabled, compatible CLI", async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); - const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.10.0"); - await codeqlObject.databaseInitCluster(stubConfig, "", undefined, undefined, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true)); - t.true(runnerConstructorStub.firstCall.args[1].includes("--no-internal-use-lua-tracing"), "--no-internal-use-lua-tracing should be present, but it is absent"); -}); (0, ava_1.default)("databaseInitCluster() without injected codescanning config", async (t) => { await util.withTmpDir(async (tempDir) => { const runnerConstructorStub = stubToolRunnerConstructor(); diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index 7b5664e11d..97578d1eaf 100644 --- a/lib/codeql.test.js.map +++ b/lib/codeql.test.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAG/B,iDAAmC;AAEnC,0DAA4C;AAC5C,mDAAgF;AAChF,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA+D;AAC/D,6CAA+B;AAC/B,iCAAqD;AAErD,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,sCAAsC;IAC3C,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,IAAI,UAAkB,CAAC;AAEvB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C,CAAC;IACzE,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClC,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACnE,qBAAqB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChD,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AATD,8DASC"} \ No newline at end of file +{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAG/B,iDAAmC;AAEnC,0DAA4C;AAC5C,mDAAgF;AAChF,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA+D;AAC/D,6CAA+B;AAC/B,iCAAqD;AAErD,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,sCAAsC;IAC3C,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,IAAI,UAAkB,CAAC;AAEvB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAE7C,UAAU,GAAG;QACX,SAAS,EAAE,CAAC,oBAAQ,CAAC,GAAG,CAAC;QACzB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,EAAE;QACT,iBAAiB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aAChC,QAAQ,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC;QAEhD,MAAM,YAAY,CAAC,mBAAmB,CACpC,UAAU,EACV,EAAE,EACF,SAAS,EACT,SAAS,EACT,IAAA,kCAAkB,EAAC,EAAE,CAAC,EACtB,IAAA,yBAAe,EAAC,IAAI,CAAC,CACtB,CAAC;QAEF,MAAM,IAAI,GAAG,qBAAqB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACrD,kCAAkC;QAClC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAW,EAAE,EAAE,CAC1C,GAAG,CAAC,UAAU,CAAC,wBAAwB,CAAC,CACzC,CAAC;QACF,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,gDAAgD,CAAC,CAAC;KACtE;YAAS;QACR,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,GAAG,6BAA6B,CAAC;KAC1E;AACH,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB;IAIvC,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClC,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACnE,qBAAqB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChD,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AATD,8DASC"} \ No newline at end of file diff --git a/lib/feature-flags.js b/lib/feature-flags.js index 9e33c0c0ce..61a628ffbc 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -25,7 +25,6 @@ const util = __importStar(require("./util")); var FeatureFlag; (function (FeatureFlag) { FeatureFlag["BypassToolcacheEnabled"] = "bypass_toolcache_enabled"; - FeatureFlag["LuaTracerConfigEnabled"] = "lua_tracer_config_enabled"; FeatureFlag["MlPoweredQueriesEnabled"] = "ml_powered_queries_enabled"; FeatureFlag["TrapCachingEnabled"] = "trap_caching_enabled"; FeatureFlag["GolangExtractionReconciliationEnabled"] = "golang_extraction_reconciliation_enabled"; diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index 2e72db189f..7780882e71 100644 --- a/lib/feature-flags.js.map +++ b/lib/feature-flags.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA8D;AAG9D,6CAA+B;AAM/B,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,kEAAmD,CAAA;IACnD,mEAAoD,CAAA;IACpD,qEAAsD,CAAA;IACtD,0DAA2C,CAAA;IAC3C,iGAAkF,CAAA;AACpF,CAAC,EANW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAMtB;AAUD,MAAa,kBAAkB;IAG7B,YACU,aAAiC,EACjC,UAA4B,EAC5B,aAA4B,EAC5B,MAAc;QAHd,kBAAa,GAAb,aAAa,CAAoB;QACjC,eAAU,GAAV,UAAU,CAAkB;QAC5B,kBAAa,GAAb,aAAa,CAAe;QAC5B,WAAM,GAAN,MAAM,CAAQ;IACrB,CAAC;IAEJ,KAAK,CAAC,QAAQ,CAAC,IAAiB;QAC9B,oDAAoD;QACpD,IAAI,IAAI,KAAK,WAAW,CAAC,sBAAsB,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE;YACtE,OAAO,KAAK,CAAC;SACd;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAC7C,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,qCAAqC,IAAI,4BAA4B,CACtE,CAAC;YACF,OAAO,KAAK,CAAC;SACd;QACD,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,SAAS,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,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,OAAO,WAAW,CAAC;IACrB,CAAC;CACF;AA5ED,gDA4EC;AAED;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,YAA2B;IAC5D,OAAO;QACL,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;YACvB,OAAO,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACrC,CAAC;KACF,CAAC;AACJ,CAAC;AAND,gDAMC"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA8D;AAG9D,6CAA+B;AAM/B,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kEAAmD,CAAA;IACnD,qEAAsD,CAAA;IACtD,0DAA2C,CAAA;IAC3C,iGAAkF,CAAA;AACpF,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAUD,MAAa,kBAAkB;IAG7B,YACU,aAAiC,EACjC,UAA4B,EAC5B,aAA4B,EAC5B,MAAc;QAHd,kBAAa,GAAb,aAAa,CAAoB;QACjC,eAAU,GAAV,UAAU,CAAkB;QAC5B,kBAAa,GAAb,aAAa,CAAe;QAC5B,WAAM,GAAN,MAAM,CAAQ;IACrB,CAAC;IAEJ,KAAK,CAAC,QAAQ,CAAC,IAAiB;QAC9B,oDAAoD;QACpD,IAAI,IAAI,KAAK,WAAW,CAAC,sBAAsB,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE;YACtE,OAAO,KAAK,CAAC;SACd;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAC7C,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,qCAAqC,IAAI,4BAA4B,CACtE,CAAC;YACF,OAAO,KAAK,CAAC;SACd;QACD,MAAM,SAAS,GAAG,Q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,IAAI,CAAC,MAAM,eAAe,EAAE,CAAC,CAAC;QACxE,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,OAAO,WAAW,CAAC;IACrB,CAAC;CACF;AA5ED,gDA4EC;AAED;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,YAA2B;IAC5D,OAAO;QACL,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;YACvB,OAAO,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACrC,CAAC;KACF,CAAC;AACJ,CAAC;AAND,gDAMC"} \ No newline at end of file diff --git a/lib/feature-flags.test.js b/lib/feature-flags.test.js index 31ef1dbfc3..8b944112f0 100644 --- a/lib/feature-flags.test.js +++ b/lib/feature-flags.test.js @@ -83,10 +83,7 @@ for (const variant of ALL_FEATURE_FLAGS_DISABLED_VARIANTS) { }); }); }); -const FEATURE_FLAGS = [ - "ml_powered_queries_enabled", - "lua_tracer_config_enabled", -]; +const FEATURE_FLAGS = ["ml_powered_queries_enabled"]; for (const featureFlag of FEATURE_FLAGS) { (0, ava_1.default)(`Feature flag '${featureFlag}' is enabled if enabled in the API response`, async (t) => { await (0, util_1.withTmpDir)(async (tmpDir) => { @@ -100,7 +97,6 @@ for (const featureFlag of FEATURE_FLAGS) { (0, testing_utils_1.mockFeatureFlagApiEndpoint)(200, expectedFeatureFlags); const actualFeatureFlags = { ml_powered_queries_enabled: await featureFlags.getValue(feature_flags_1.FeatureFlag.MlPoweredQueriesEnabled), - lua_tracer_config_enabled: await featureFlags.getValue(feature_flags_1.FeatureFlag.LuaTracerConfigEnabled), }; t.deepEqual(actualFeatureFlags, expectedFeatureFlags); }); diff --git a/lib/feature-flags.test.js.map b/lib/feature-flags.test.js.map index ec4b88ea92..dcc8c3ece4 100644 --- a/lib/feature-flags.test.js.map +++ b/lib/feature-flags.test.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.test.js","sourceRoot":"","sources":["../src/feature-flags.test.ts"],"names":[],"m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EAAE,MAAM,YAAY,CAAC,QAAQ,CACpD,2BAAW,CAAC,sBAAsB,CACnC;aACF,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"feature-flags.test.js","sourceRoot":"","sources":["../src/feature-flags.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AAGvB,mDAAkE;AAClE,uCAA4C;AAC5C,6CAAkD;AAClD,mDAMyB;AAEzB,iCAAgF;AAEhF,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAqB;IACvC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,iBAAiB,GAAG,IAAA,+BAAkB,EAAC,gBAAgB,CAAC,CAAC;AAE/D,MAAM,mCAAmC,GAGpC;IACH;QACE,WAAW,EAAE,MAAM;QACnB,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE;KAC9D;IACD,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,IAAI,EAAE,EAAE;CACrE,CAAC;AAEF,KAAK,MAAM,OAAO,IAAI,mCAAmC,EAAE;IACzD,IAAA,aAAI,EAAC,qDAAqD,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QAC3F,MAAM,IAAA,iBAAU,EAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YAChC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MA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GAAG,KAAK,CAAC;aACjC;YACD,oBAAoB,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;YACzC,IAAA,0CAA0B,EAAC,GAAG,EAAE,oBAAoB,CAAC,CAAC;YAEtD,MAAM,kBAAkB,GAAgC;gBACtD,0BAA0B,EAAE,MAAM,YAAY,CAAC,QAAQ,CACrD,2BAAW,CAAC,uBAAuB,CACpC;aACF,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/src/analyze.test.ts b/src/analyze.test.ts index 0d2ebffa90..49b4a9fbb4 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -1,23 +1,19 @@ import * as fs from "fs"; import * as path from "path"; -import { ExecOptions } from "@actions/exec"; -import * as toolrunner from "@actions/exec/lib/toolrunner"; import test, { ExecutionContext } from "ava"; import * as yaml from "js-yaml"; import * as sinon from "sinon"; import { convertPackToQuerySuiteEntry, - createdDBForScannedLanguages, createQuerySuiteContents, runQueries, validateQueryFilters, } from "./analyze"; -import { setCodeQL, getCodeQLForTesting } from "./codeql"; +import { setCodeQL } from "./codeql"; import { Config } from "./config-utils"; import * as count from "./count-loc"; -import { createFeatureFlags, FeatureFlag } from "./feature-flags"; import { Language } from "./languages"; import { getRunnerLogger } from "./logging"; import { setupTests, setupActionsVars } from "./testing-utils"; @@ -431,114 +427,3 @@ test("createQuerySuiteContents", (t) => { t.deepEqual(yamlResult, expected); }); - -const stubConfig: Config = { - languages: [Language.cpp, Language.go], - queries: {}, - pathsIgnore: [], - paths: [], - originalUserInput: {}, - tempDir: "", - codeQLCmd: "", - gitHubVersion: { - type: util.GitHubVariant.DOTCOM, - } as util.GitHubVersion, - dbLocation: "", - packs: {}, - debugMode: false, - debugArtifactName: util.DEFAULT_DEBUG_ARTIFACT_NAME, - debugDatabaseName: util.DEFAULT_DEBUG_DATABASE_NAME, - augmentationProperties: { - injectedMlQueries: false, - packsInputCombines: false, - queriesInputCombines: false, - }, - trapCaches: {}, - trapCacheDownloadTime: 0, -}; - -for (const options of [ - { - name: "Lua feature flag enabled, but old CLI", - version: "2.9.0", - featureFlags: [FeatureFlag.LuaTracerConfigEnabled], - yesFlagSet: false, - noFlagSet: false, - }, - { - name: "Lua feature flag disabled, with old CLI", - version: "2.9.0", - featureFlags: [], - yesFlagSet: false, - noFlagSet: false, - }, - { - name: "Lua feature flag enabled, with new CLI", - version: "2.10.0", - featureFlags: [FeatureFlag.LuaTracerConfigEnabled], - yesFlagSet: true, - noFlagSet: false, - }, - { - name: "Lua feature flag disabled, with new CLI", - version: "2.10.0", - featureFlags: [], - yesFlagSet: false, - noFlagSet: true, - }, -]) { - test(`createdDBForScannedLanguages() ${options.name}`, async (t) => { - const runnerObjectStub = sinon.createStubInstance(toolrunner.ToolRunner); - runnerObjectStub.exec.resolves(0); - const runnerConstructorStub = sinon.stub(toolrunner, "ToolRunner"); - runnerConstructorStub.callsFake( - (_toolPath, args, execOptions: ExecOptions) => { - // Call listener on `codeql resolve extractor` - if (args[0] === "resolve" && args[1] === "extractor") { - const func = execOptions.listeners!.stdout as (data: Buffer) => void; - t.truthy(func, "stdout listener is defined"); - func(Buffer.from('"/path/to/extractor"')); - } - return runnerObjectStub; - } - ); - - const codeqlObject = await getCodeQLForTesting("codeql/for-testing"); - sinon.stub(codeqlObject, "getVersion").resolves(options.version); - - await createdDBForScannedLanguages( - codeqlObject, - stubConfig, - getRunnerLogger(true), - createFeatureFlags(options.featureFlags) - ); - if (options.yesFlagSet) - t.true( - runnerConstructorStub.secondCall.args[1].includes( - "--internal-use-lua-tracing" - ), - "--internal-use-lua-tracing should be present, but it is absent" - ); - else - t.false( - runnerConstructorStub.secondCall.args[1].includes( - "--internal-use-lua-tracing" - ), - "--internal-use-lua-tracing should be absent, but it is present" - ); - if (options.noFlagSet) - t.true( - runnerConstructorStub.secondCall.args[1].includes( - "--no-internal-use-lua-tracing" - ), - "--no-internal-use-lua-tracing should be present, but it is absent" - ); - else - t.false( - runnerConstructorStub.secondCall.args[1].includes( - "--no-internal-use-lua-tracing" - ), - "--no-internal-use-lua-tracing should be absent, but it is present" - ); - }); -} diff --git a/src/analyze.ts b/src/analyze.ts index f7d4b5701f..1ed90b1e62 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -143,7 +143,7 @@ export async function createdDBForScannedLanguages( await setupPythonExtractor(logger); } - await codeql.extractScannedLanguage(config, language, featureFlags); + await codeql.extractScannedLanguage(config, language); logger.endGroup(); } } diff --git a/src/codeql.test.ts b/src/codeql.test.ts index 17a7a8a03e..af5b895767 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -442,102 +442,6 @@ test("databaseInterpretResults() sets --sarif-add-query-help for 2.7.1", async ( ); }); -test("databaseInitCluster() Lua feature flag enabled, but old CLI", async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); - const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.9.0"); - - await codeqlObject.databaseInitCluster( - stubConfig, - "", - undefined, - undefined, - createFeatureFlags([FeatureFlag.LuaTracerConfigEnabled]), - getRunnerLogger(true) - ); - t.false( - runnerConstructorStub.firstCall.args[1].includes( - "--internal-use-lua-tracing" - ), - "--internal-use-lua-tracing should be absent, but it is present" - ); - t.false( - runnerConstructorStub.firstCall.args[1].includes( - "--no-internal-use-lua-tracing" - ), - "--no-internal-use-lua-tracing should be absent, but it is present" - ); -}); - -test("databaseInitCluster() Lua feature flag disabled, with old CLI", async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); - const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.9.0"); - - await codeqlObject.databaseInitCluster( - stubConfig, - "", - undefined, - undefined, - createFeatureFlags([]), - getRunnerLogger(true) - ); - t.false( - runnerConstructorStub.firstCall.args[1].includes( - "--internal-use-lua-tracing" - ), - "--internal-use-lua-tracing should be absent, but it is present" - ); - t.false( - runnerConstructorStub.firstCall.args[1].includes( - "--no-internal-use-lua-tracing" - ), - "--no-internal-use-lua-tracing should be absent, but it is present" - ); -}); - -test("databaseInitCluster() Lua feature flag enabled, compatible CLI", async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); - const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.10.0"); - - await codeqlObject.databaseInitCluster( - stubConfig, - "", - undefined, - undefined, - createFeatureFlags([FeatureFlag.LuaTracerConfigEnabled]), - getRunnerLogger(true) - ); - t.true( - runnerConstructorStub.firstCall.args[1].includes( - "--internal-use-lua-tracing" - ), - "--internal-use-lua-tracing should be present, but it is absent" - ); -}); - -test("databaseInitCluster() Lua feature flag disabled, compatible CLI", async (t) => { - const runnerConstructorStub = stubToolRunnerConstructor(); - const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.10.0"); - - await codeqlObject.databaseInitCluster( - stubConfig, - "", - undefined, - undefined, - createFeatureFlags([]), - getRunnerLogger(true) - ); - t.true( - runnerConstructorStub.firstCall.args[1].includes( - "--no-internal-use-lua-tracing" - ), - "--no-internal-use-lua-tracing should be present, but it is absent" - ); -}); - test("databaseInitCluster() without injected codescanning config", async (t) => { await util.withTmpDir(async (tempDir) => { const runnerConstructorStub = stubToolRunnerConstructor(); diff --git a/src/codeql.ts b/src/codeql.ts index b1691065c4..603a102277 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -102,11 +102,7 @@ export interface CodeQL { * Extract code for a scanned language using 'codeql database trace-command' * and running the language extractor. */ - extractScannedLanguage( - config: Config, - language: Language, - featureFlags: FeatureFlags - ): Promise; + extractScannedLanguage(config: Config, language: Language): Promise; /** * Finalize a database using 'codeql database finalize'. */ @@ -800,29 +796,26 @@ async function getCodeQLForCmd( extraArgs.push(`--trace-process-level=${processLevel || 3}`); } if ( - await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACER_CONFIG) + // There's a bug in Lua tracing for Go on Windows in versions earlier than + // `CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED`, so don't use Lua tracing + // when tracing Go on Windows on these CodeQL versions. + (await util.codeQlVersionAbove( + this, + CODEQL_VERSION_LUA_TRACER_CONFIG + )) && + config.languages.includes(Language.go) && + isTracedLanguage( + Language.go, + isGoExtractionReconciliationEnabled, + logger + ) && + process.platform === "win32" && + !(await util.codeQlVersionAbove( + this, + CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED + )) ) { - if ( - (await featureFlags.getValue(FeatureFlag.LuaTracerConfigEnabled)) && - // There's a bug in Lua tracing for Go on Windows in versions earlier than - // `CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED`, so don't use Lua tracing - // when tracing Go on Windows on these CodeQL versions. - (!config.languages.includes(Language.go) || - !isTracedLanguage( - Language.go, - isGoExtractionReconciliationEnabled, - logger - ) || - process.platform !== "win32" || - (await util.codeQlVersionAbove( - this, - CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED - ))) - ) { - extraArgs.push("--internal-use-lua-tracing"); - } else { - extraArgs.push("--no-internal-use-lua-tracing"); - } + extraArgs.push("--no-internal-use-lua-tracing"); } } @@ -879,11 +872,7 @@ async function getCodeQLForCmd( // (https://github.com/actions/runner/pull/416). await runTool(autobuildCmd); }, - async extractScannedLanguage( - config: Config, - language: Language, - featureFlags: FeatureFlags - ) { + async extractScannedLanguage(config: Config, language: Language) { const databasePath = util.getCodeQLDatabasePath(config, language); // Get extractor location let extractorPath = ""; @@ -916,24 +905,12 @@ async function getCodeQLForCmd( "tools", `autobuild${ext}` ); - const extraArgs: string[] = []; - if ( - await util.codeQlVersionAbove(this, CODEQL_VERSION_LUA_TRACER_CONFIG) - ) { - if (await featureFlags.getValue(FeatureFlag.LuaTracerConfigEnabled)) { - extraArgs.push("--internal-use-lua-tracing"); - } else { - extraArgs.push("--no-internal-use-lua-tracing"); - } - } - // Run trace command await toolrunnerErrorCatcher( cmd, [ "database", "trace-command", - ...extraArgs, ...(await getTrapCachingExtractorConfigArgsForLang(config, language)), ...getExtraOptionsFromEnv(["database", "trace-command"]), databasePath, diff --git a/src/feature-flags.test.ts b/src/feature-flags.test.ts index 8c14edd4fe..83857d44f8 100644 --- a/src/feature-flags.test.ts +++ b/src/feature-flags.test.ts @@ -153,10 +153,7 @@ test("Feature flags exception is propagated if the API request errors", async (t }); }); -const FEATURE_FLAGS = [ - "ml_powered_queries_enabled", - "lua_tracer_config_enabled", -]; +const FEATURE_FLAGS = ["ml_powered_queries_enabled"]; for (const featureFlag of FEATURE_FLAGS) { test(`Feature flag '${featureFlag}' is enabled if enabled in the API response`, async (t) => { @@ -181,9 +178,6 @@ for (const featureFlag of FEATURE_FLAGS) { ml_powered_queries_enabled: await featureFlags.getValue( FeatureFlag.MlPoweredQueriesEnabled ), - lua_tracer_config_enabled: await featureFlags.getValue( - FeatureFlag.LuaTracerConfigEnabled - ), }; t.deepEqual(actualFeatureFlags, expectedFeatureFlags); diff --git a/src/feature-flags.ts b/src/feature-flags.ts index 0d7359d25b..46c79b7ce3 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -9,7 +9,6 @@ export interface FeatureFlags { export enum FeatureFlag { BypassToolcacheEnabled = "bypass_toolcache_enabled", - LuaTracerConfigEnabled = "lua_tracer_config_enabled", MlPoweredQueriesEnabled = "ml_powered_queries_enabled", TrapCachingEnabled = "trap_caching_enabled", GolangExtractionReconciliationEnabled = "golang_extraction_reconciliation_enabled", From c2560331fc32397f9809fe459efeb746df4fa634 Mon Sep 17 00:00:00 2001 From: Cornelius Riemenschneider Date: Tue, 13 Sep 2022 13:48:03 +0000 Subject: [PATCH 43/44] Fix runner integration test. This test is broken, as it first sets environment variables, and then immediately unsets it again. This only worked by chance with the legacy tracer, and breaks the Lua tracer. --- .github/workflows/runner-checks.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/runner-checks.yml b/.github/workflows/runner-checks.yml index 9051daea4f..301aaae587 100644 --- a/.github/workflows/runner-checks.yml +++ b/.github/workflows/runner-checks.yml @@ -167,7 +167,6 @@ jobs: shell: powershell run: | cat ./codeql-runner/codeql-env.sh | Invoke-Expression - $Env:CODEQL_EXTRACTOR_CSHARP_ROOT = "" # Unset an environment variable to make sure the tracer resists this & $Env:CODEQL_RUNNER dotnet build /p:UseSharedCompilation=false - name: Upload tracer logs From 99d0a6bc15af7dc18519fd1d23d10faf147a2035 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 14 Sep 2022 18:34:02 +0000 Subject: [PATCH 44/44] Update changelog for v2.1.23 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae515e9923..6a3b257e7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CodeQL Action Changelog -## [UNRELEASED] +## 2.1.23 - 14 Sep 2022 - Allow CodeQL packs to be downloaded from GitHub Enterprise Server instances, using the new `registries` input for the `init` action. [#1221](https://github.com/github/codeql-action/pull/1221) - Update default CodeQL bundle version to 2.10.5. [#1240](https://github.com/github/codeql-action/pull/1240)